[squeak-dev] The Inbox: Tests-cwp.158.mcz

Colin Putney colin at wiresong.com
Fri Aug 17 17:22:33 UTC 2012


On 2012-08-17, at 2:39 AM, Frank Shearar <frank.shearar at gmail.com> wrote:

> Does this need updating? testP2LeadingUnderscore and
> testP2SingleUnderscore fail because #_+ and #'_' have precedence 1
> instead of the expected 2. (This relates to your conversation with
> Juan, IIRC, on whether or not $_ can form part of a binary selector.)

Right. I did update the tests; the new version should be in trunk. (I
can't verify  ATM.) Note in particular the test that asserts #_ has
precedence 1. It's not only a valid variable name, it's also valid as
a unary message!

Colin


More information about the Squeak-dev mailing list