From: Michael Burschik <Michael.Burschik@gmx.de>
Subject: MOP bug?
Date: Mon, 29 Apr 2002 19:03:46 +0200 [thread overview]
Message-ID: <02042919034600.00893@linux> (raw)
If I call guile interactively and type this:
(use-modules (oop goops))
(define-class <thing> () (slot1))
(define-method (slot-unbound (c <class>) (o <thing>) s)
(display "You can't do that.\n"))
(define mything (make <thing>))
(slot-ref mything 'slot1)
I get what I want. If I put the above statements in a file and execute guile
-f file or guile -s file, I get this error message:
ERROR: In procedure class-direct-methods:
ERROR: Wrong type argument in position 1: #<struct 40209640:40209640>
Now why should that be?
I am using guile 1.4, goops 1.0.2 and linux 2.4.
Regards
Michael Burschik
_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-guile
next reply other threads:[~2002-04-29 17:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-29 17:03 Michael Burschik [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-04-30 15:49 MOP bug? Thomas Wawrzinek
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=02042919034600.00893@linux \
--to=michael.burschik@gmx.de \
/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).