GNU bug report logs -
#24454
GOOPS problem with GNU Guile 2.1.4
Previous Next
Reported by: Jan Wedekind <jan <at> wedesoft.de>
Date: Sat, 17 Sep 2016 20:48:02 UTC
Severity: normal
Done: Andy Wingo <wingo <at> pobox.com>
Bug is archived. No further changes may be made.
Full log
Message #10 received at 24454-done <at> debbugs.gnu.org (full text, mbox):
On Sat 17 Sep 2016 22:43, Jan Wedekind <jan <at> wedesoft.de> writes:
> The following program works fine under GNU Guile 2.0.12:
>
> (use-modules (oop goops))
> (define-generic native-type)
> (define-method (native-type (i <integer>) . args) 0)
> (define-method (native-type (i <real>) . args) 1)
> (define-method (native-type (b <boolean>) . args) 2)
>
> (native-type 1)
> (native-type 1.3)
> (native-type #f)
> (native-type 1 1.2)
> (native-type 1.4 2)
> (native-type 1.4 2 3)
> (native-type 1.4 1.5)
> (native-type #f #t)
>
> However under GNU Guile 2.1.4 [1] it fails with an error in
> "multiple-arity-dispatcher":
Thanks for the bug report! Fixed in master.
> Getting the backtrace didn't work:
Oops :P I fixed this too.
Cheers,
Andy
This bug report was last modified 8 years and 87 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.