[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with MOP
From: |
Neil Jerram |
Subject: |
Re: Problem with MOP |
Date: |
03 Jan 2001 23:45:01 +0000 |
>>>>> "Thomas" == Thomas Wawrzinek <address@hidden> writes:
Thomas> Hello! I just wanted to play around a little with GOOPSes
Thomas> MOP.
Thomas> If I execute the following short script
Thomas> (use-modules (oop goops)) (define-class <mopped-class>
Thomas> (<class>))
Thomas> with `guile -s script.scm', I get the following error:
Thomas> ERROR: In procedure class-precedence-list: ERROR: Wrong
Thomas> type argument in position 1: #<struct 401c0640:401c0640>
Thomas> If I type these two lines to the interpreter, everything's
Thomas> fine.
Thomas> I'm using guile 1.4 with goops 0.9.0 on a SuSE Linux 6.4
Thomas> box.
We've had this problem before. I don't remember the explanation, but
the workaround is to add the line
(define-module (guile-user))
into your script as the first line.
Can anyone else remember the explanation for this? Incidentally, the
same bug is still present in recent CVS Guile.
Regards,
Neil
- Re: Problem with MOP,
Neil Jerram <=