Compiler bug

TANGUAY, LUC luc.tanguay at bell.ca
Thu Apr 9 16:03:37 UTC 1998


I though I had found a bug in Smalltalk Dolphin (sent a message to their
support group) but I think there is a problem with Squeak.  The
following piece of code:
   ';' asSymbol == #;
produces 'true' in Squeak and #; in Dolphin. The bug in Dolphin is not
answering #; but the compiler should flag this code with an error.
According to the Blue Book, #; is not a valid symbol constant. Another
example.  Now, according to ANSI, #';' is a valid string constant, so
the code:
   ';' asSymbol == #';'
in Dolphin gives 'true' but in Squeak, it is ' false'.
Who's right?
-- 
Luc Tanguay, ing.
Bell Canada
Recherche et génie logiciel/Software Engineering & Research
1050 Beaver Hall, 2e étage/2nd floor
Montréal (Québec) H2Z 1S4, Canada
Tél./phone: (514) 786-6440
mailto:Luc.Tanguay at bell.ca





More information about the Squeak-dev mailing list