On 6 Dec 2006, at 16:16, James Y Knight wrote:
>
> Wrapping the defclass in (eval-when (:compile-toplevel :load-
> toplevel :execute) ..) is a trivial workaround.
It's a long time since I looked at the spec on this (I meant to last
night, but ran out of time), but I think this would probably be a bad
solution. I think you need to *not* have a class definition in a
compilation unit cause that class to become defined outside it, but
merely to be defined (or look as if it is defined) within it. This
is the same as for function definitions, etc.
--tim
|