[FIX] nil and #nil and a fix for RxParser
Boris Gaertner
Boris.Gaertner at gmx.net
Tue Dec 7 12:33:02 UTC 2004
From: "Andrew P. Black" <black at cs.pdx.edu>
> Did the meaning of
>
> array := #(12 nil foo)
>
> change at some point?
Yes, it did.
In all the old Smalltalks (early Smalltalk-80, Digitalk Smalltalk/V)
we had:
# (12 nil true false) collect: [:item | item class]
#(SmallInteger Symbol Symbol Symbol)
ANSI requires:
# (12 nil true false) collect: [:item | item class]
#(SmallInteger UndefinedObject True False)
The change to ANSI came with change set 5736 (by Avi Bryant)
Squeak 3.6 final has still the old interpretation, Squeak 3.7 final
has the new one.
Greetings, Boris
More information about the Squeak-dev
mailing list
|