bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24454: GOOPS problem with GNU Guile 2.1.4


From: Jan Wedekind
Subject: bug#24454: GOOPS problem with GNU Guile 2.1.4
Date: Sun, 26 Feb 2017 09:47:41 +0000 (GMT)
User-agent: Alpine 2.11 (DEB 23 2013-08-11)

On Wed, 22 Feb 2017, Andy Wingo wrote:

On Sat 17 Sep 2016 22:43, Jan Wedekind <address@hidden> 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

Thanks for fixing it. I can confirm that it works now.

Regards
Jan

"The purpose of abstraction is not to be vague, but to create a new semantic 
level
in which one can be absolutely precise." - Dijkstra







reply via email to

[Prev in Thread] Current Thread [Next in Thread]