|
From: | Holger Hans Peter Freyther |
Subject: | [Help-smalltalk] Pharo compabilitty with #1 |
Date: | Fri, 18 Feb 2011 12:35:06 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b2 Thunderbird/3.1.7 |
Hi all, in Pharo it seems that #1 will evaluate to 1 as a SmallInteger. I came across this when pointing gst-convert to the SoapOpera sources. In any case this is not valid according to the ANSI Smalltalk draft I consulted, but then #ABC is also not valid but well supported. So once again what should we do? Ignore it? Allow to parse this from Squeak code and turn it into a number literal? holger
[Prev in Thread] | Current Thread | [Next in Thread] |