bug-guile
[Top][All Lists]
Advanced

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

Re: module system / (oop goops) / :duplicates (merge-generics) / bug?


From: David Pirotte
Subject: Re: module system / (oop goops) / :duplicates (merge-generics) / bug?
Date: Wed, 6 Jul 2011 16:22:44 -0300

Hello Ludovic,

> >     address@hidden:~ 8 $ guile
> >     GNU Guile 2.0.0.160-39be
> 
> I think commit ad4bd7c2c0c931a91160772e5ebf40af0f471874 (in 2.0.2) fixes
> this.  Can you check with 2.0.2?

  [I should have pulled the latest off course, I am sorry]

I slightly modified the mg-*.scm files:

        mg-1 and mg-2:

        [a]     did not need to use :duplicates;
        [b]     I commented out define-generic, on purpose, since it is my
                understanding [is it right?] that :accessor will do it for me;

        mg-3:

        [c]     added (ice-9 format) in mg-3 since it did show
                'another' [maybe] problem.

I got the same errors:

1] with (ice-9 format):

address@hidden:/usr/local/share/guile/alto/2.0/tests 1 $ guile
GNU Guile 2.0.2.3-21b6d
...
scheme@(guile-user)> (use-modules (mg-3))
(letstry)

mg-3.scm:19:2: In procedure letstry:
mg-3.scm:19:2: In procedure module-lookup: Unbound variable: format

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.

2] without:

..
(use-modules (mg-3))                                                            
                        
(letstry)                                                                       
                        
..
mg-3.scm:19:30: In procedure letstry:
mg-3.scm:19:30: In procedure module-lookup: Unbound variable: dialog


Cheers,
David

Attachment: mg-1.scm
Description: Text Data

Attachment: mg-2.scm
Description: Text Data

Attachment: mg-3.scm
Description: Text Data


reply via email to

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