binary selectors ambiguity and space

Stephan Rudlof sr at
Mon May 15 18:42:24 UTC 2006

On 15.05.2006 20:25, I wrote:

> On 13.05.2006 02:10, nicolas cellier wrote:
> nc>...
> nc> Funny, in current 3.9 spaces are ignored:
> nc> i have '1 +-   2' interpreted as (1) + (-2)
> At least, if there should be a change in the semantics - for e.g.
> allowing selector #+- in the case above -, it would be *much* better to
> fail loading a package instead of loading it silently: otherwise the
> code would just break at runtime!

After sending this comment I've seen, that this example is far from the
case: so for such a semantic change there should be
- an announcement,
- a code snippet for scanning the code for cases, where the semantics is
announced to be changed.

Since after changing the semantics this way, the above would not have
any ambiguity, and therefore it would be loaded smoothly...



Stephan Rudlof (sr at
   "Genius doesn't work on an assembly line basis.
    You can't simply say, 'Today I will be brilliant.'"
    -- Kirk, "The Ultimate Computer", stardate 4731.3

More information about the Squeak-dev mailing list