unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Jan Wedekind <jan@wedesoft.de>
To: Andy Wingo <wingo@pobox.com>
Cc: 24454-done@debbugs.gnu.org
Subject: bug#24454: GOOPS problem with GNU Guile 2.1.4
Date: Sun, 26 Feb 2017 09:47:41 +0000 (GMT)	[thread overview]
Message-ID: <alpine.DEB.2.11.1702260946380.4595@wedemob> (raw)
In-Reply-To: <874lzlyixg.fsf@pobox.com>

On Wed, 22 Feb 2017, Andy Wingo wrote:

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

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	other threads:[~2017-02-26  9:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-17 20:43 bug#24454: GOOPS problem with GNU Guile 2.1.4 Jan Wedekind
2017-02-22 22:11 ` Andy Wingo
2017-02-26  9:47   ` Jan Wedekind [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.11.1702260946380.4595@wedemob \
    --to=jan@wedesoft.de \
    --cc=24454-done@debbugs.gnu.org \
    --cc=wingo@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).