On Dec 6, 2007 4:11 PM, Leslie P. Polzer <leslie.polzer@...> wrote:
> Suppose we have this in package A:
> (defclass super ()
> And this in package B:
> (defclass sub (super)
> SBCL will style-warn here that B:myslot shadows A:myslot.
> How can this be resolved?
Please show code that exhibits this, and the exact message SBCL gives
you. I can think
of at least two possibilities: one uses the word "shadow", but is a
and the other does not use the word "shadow" but is a style warning...
Also clarify your intention: do you intend for the slot definition in
SUB to override
the one in SUPER, or do you want SUB to have slots A::MYSLOT and B::MYSLOT?
Finally (not really directed at you, but the world at large):
questions relating to "how
do I make SBCL do this?" are best addressed on sbcl-help. If there is
in list charter, we might just as well have a single sbcl-talk... :)