Hi All,
Pharo accepts
method: p _: q _: r ^'cool'
Squeak does not. I have an urgent compelling use case in VMMaker. Would there be any strong objections to me modifying the Squeak compiler to accept the above when the allowUnderscoresInSelectors preference is in effect? _,,,^..^,,,_ best, Eliot
I have not objection with that AS LONG AS it doesn't inadvertently allow us to create a method _ (that is #_). This would make old code and new code become confusing, I would think.
Thanks, cbc
On Tue, Sep 18, 2018 at 10:25 AM Eliot Miranda eliot.miranda@gmail.com wrote:
Hi All,
Pharo accepts
method: p _: q _: r ^'cool'
Squeak does not. I have an urgent compelling use case in VMMaker. Would there be any strong objections to me modifying the Squeak compiler to accept the above when the allowUnderscoresInSelectors preference is in effect? _,,,^..^,,,_ best, Eliot
Hi Eliot,
That's clearly a bug as the compiler accepts this:
method: p __: q __: r ^'cool'
Levente
On Tue, 18 Sep 2018, Eliot Miranda wrote:
Hi All, Pharo accepts
method: p _: q _: r ^'cool'
Squeak does not. I have an urgent compelling use case in VMMaker. Would there be any strong objections to me modifying the Squeak compiler to accept the above when the allowUnderscoresInSelectors preference is in effect? _,,,^..^,,,_ best, Eliot
On Tue, Sep 18, 2018 at 10:38 AM Levente Uzonyi leves@caesar.elte.hu wrote:
Hi Eliot,
That's clearly a bug as the compiler accepts this:
method: p __: q __: r ^'cool'
ROTFL
Levente
On Tue, 18 Sep 2018, Eliot Miranda wrote:
Hi All, Pharo accepts
method: p _: q _: r ^'cool'
Squeak does not. I have an urgent compelling use case in VMMaker.
Would there be any strong objections to me modifying the Squeak compiler to accept the above when the allowUnderscoresInSelectors
preference is in effect? _,,,^..^,,,_ best, Eliot
squeak-dev@lists.squeakfoundation.org