Environment-caused SyntaxError running build scripts (was Re: [squeak-dev] error when updating Squeak4.4-12327 to trunk)

Colin Putney colin at wiresong.com
Tue Mar 12 01:26:30 UTC 2013


On Mon, Mar 11, 2013 at 5:59 PM, Eliot Miranda <eliot.miranda at gmail.com>wrote:


> No.  Its arguably a bug but a binding will print itself as the Symbol key.
>  So what's happening is that the binding for DateAndTime is printing itself
> as #DateAndTime.  So the problem is that the Decompiler is not mapping the
> sequence pushLiteral: aBinding, send #value back into an appropriate
> LiteralVariableNode instance.  The Decompiler needs to special-case this.


Yeah, that should probably be fixed. The new Alias bindings will generate
#value sends, which I don't think we've used before. (We've used #value:
for assignment to globals, but not #value for reads.)

But since DateAndTime is a class, this shouldn't be an Alias at all, and
thus shouldn't be sending #value.

Colin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20130311/e21d9319/attachment.htm


More information about the Squeak-dev mailing list