[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: with-slots macroexpansion bug
- To: email@example.com
- Subject: Re: with-slots macroexpansion bug
- From: haible (Bruno Haible)
- Date: Tue, 3 May 94 13:54:42 +0200
> theres a nasty bug in with-slots such that a slot named "function"
> gets expanded to a function object!
> #'(SLOT-VALUE #:G969 'FUNCTION)
> instead of something like:
> (function (slot-value #G969 'function))
This is not a bug. You have been fooled by the fact that CLISP's printer
prints lists of the form (FUNCTION xxx) as #'xxx -
regardless whether the symbol FUNCTION is meant as a special form as a