[squeak-dev] The Inbox: Compiler-nice.280.mcz
Frank Shearar
frank.shearar at gmail.com
Tue Feb 25 07:17:06 UTC 2014
On 24 February 2014 13:41, <commits at source.squeak.org> wrote:
> Nicolas Cellier uploaded a new version of Compiler to project The Inbox:
> http://source.squeak.org/inbox/Compiler-nice.280.mcz
>
> ==================== Summary ====================
>
> Name: Compiler-nice.280
> Author: nice
> Time: 24 February 2014, 10:41:41.999 pm
> UUID: 6e62064c-bd88-4957-98e4-c57da15738fc
> Ancestors: Compiler-nice.279
>
> Accept ^ as a binary selector
> With this change, binary selector can be arbitrarily composed of #verticalBar | #upArrow ^ or any other Character classified as #binary (See Scanner class>>initializeTypeTable)
>
> =============== Diff against Compiler-nice.279 ===============
So
foo
| a |
a := 1 + 3
^ a.
actually means
foo
| a |
a := 1 + 3 ^ a.
^ self.
Which might be surprising - currently the former will fail with a
sensible error message. (I say this while liking that I can write "2 ^
2" instead of "2 squared"...)
frank
More information about the Squeak-dev
mailing list
|