|
From: | Paolo Bonzini |
Subject: | Re: [Help-smalltalk] Pharo compabilitty with #1 |
Date: | Fri, 18 Feb 2011 14:17:33 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7 |
On 02/18/2011 12:35 PM, Holger Hans Peter Freyther wrote:
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?
Report it as a bug in Pharo. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |