About NewCompiler double-bar
nicolas cellier
ncellier at ifrance.com
Wed May 23 22:22:32 UTC 2007
NewCompiler accepts the double bar binary message as a valid selector #||
This is not ambiguous with an empty literal declaration that always
happen before an expression.
If i tried this, it works perfectly:
ClosureCompiler evaluate: '[:x| ||]'. [] in UndefinedObject>>DoIt {[:t1
| nil]}
But fails without the space:
ClosureCompiler evaluate: '[:x|||]'.
[:xSmaCCParserError: Token not expected ->|||] HUH?
Concouring for the most minor bug one ever care of in the world!
Nicolas
More information about the Squeak-dev
mailing list
|