[squeak-dev] Re: PseudoContext strange behavior

Enrico Spinielli enrico.spinielli at googlemail.com
Sun Apr 4 19:15:14 UTC 2010


I get true on both tests (the last ones below)
for Squeak4.1beta last update 9883

On Sun, Apr 4, 2010 at 9:06 PM, Nicolas Cellier <
nicolas.cellier.aka.nice at gmail.com> wrote:

> 2010/4/4 Nicolas Cellier <nicolas.cellier.aka.nice at gmail.com>:
> > PseudoContext superclass -> nil.
> >
> > "THIS IS SURPRISING:"
> > (PseudoContext isKindOf: Class) -> false.
> >
> > PseudoContext definition ->
> > 'ProtoObject variableSubclass: #PseudoContext
> >        instanceVariableNames: ''fixed fields never accessed from
> smalltalk''
> >        classVariableNames: ''''
> >        poolDictionaries: ''''
> >        category: ''Kernel-Methods''.
> > PseudoContext superclass: nil'
> >
> > If I compare this to ProtoObject:
> >
> > ProtoObject superclass -> nil.
> > (ProtoObject isKindOf: Class) -> true.
> > ProtoObject definition ->
> > 'ProtoObject subclass: #ProtoObject
> >        instanceVariableNames: ''''
> >        classVariableNames: ''''
> >        poolDictionaries: ''''
> >        category: ''Kernel-Objects''.
> > ProtoObject superclass: nil'
> >
> > "MORE DETAIL"
> > (PseudoContext isKindOf: ClassDescription) -> true.
> > (ClassDescription subclasses select: [:each | PseudoContext isKindOf:
> > each]) -> #().
> > PseudoContext class allInstances -> PseudoContext.
> > PseudoContext class allInstances anyOne == PseudoContext -> true.
> > PseudoContext class superclass -> Class.
> >
> > "This PseudoContext makes OB unhappy and I do not understand, please help
> !"
> >
> > "Nicolas"
> >
>
> More clues:
>
> ProtoObject class superclass == Class -> true.
> PseudoContext class superclass == Class -> false.
>
> Is it only my image which is broken ?
>
> Nicolas
>
>


-- 
Enrico Spinielli
"Do Androids dream of electric sheep?"— Philip K. Dick
"Hear and forget; see and remember;do and understand."—Mitchel Resnick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20100404/99883c61/attachment.htm


More information about the Squeak-dev mailing list