[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23404: Infinite recursion in GOOPS in Guile 2.2
From: |
Andy Wingo |
Subject: |
bug#23404: Infinite recursion in GOOPS in Guile 2.2 |
Date: |
Tue, 28 Feb 2017 16:12:46 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
On Sat 30 Apr 2016 04:27, Christopher Allan Webber <address@hidden> writes:
> It looks like my example was incomplete. It turns out loading and
> passing in an srfi-9 record is critical to instantiating the bug.
>
> Why? I'm not sure...
>
> (use-modules (oop goops)
> (srfi srfi-9))
> (define-class <some-class> ())
> (define-record-type <some-record>
> (make-some-record foo)
> some-record?
> (foo some-record-foo))
>
> (define-method (time-to-break (some-class <some-class>) not-a-class)
> (display "We're never going home are we?\n"))
>
> ;; Now it'll break
> (time-to-break (make <some-class>) (make-some-record 1))
This appears to be fixed, somehow (?). Please reopen if you can still
produce the bug.
Andy
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#23404: Infinite recursion in GOOPS in Guile 2.2,
Andy Wingo <=