[BUG] #-- is illegal selector

Joshua 'Schwa' Gargus schwa at cc.gatech.edu
Tue Mar 4 05:57:27 UTC 2003


Hi,

Any method with more than one '-' in the selector will not compile.
This seems to be due to Scanner>>xBinary, which explicitly checks for
a '-'.  Removing this check allows selectors to contain multiple '-'s,
and causes nothing obvious to break.  For example, executing '-1 + -2'
in a workspace gives the right answer.  However, I'm sure that it is
there for a reason.  Does anyone know what that reason might be?

Thanks,
Joshua



More information about the Squeak-dev mailing list