[erlang-patches] Scan "=<<" as something useful

Raimo Niskanen raimo+erlang-patches@REDACTED
Mon Apr 29 15:32:26 CEST 2013


On Mon, Apr 29, 2013 at 03:11:44PM +0200, Anthony Ramine wrote:
> I don't understand how is that a typo, as "A=<<<1>>" is valid syntax with or without my patch.

...i misread the old arguments; rather that intending to write "A =< << 1 >>"
without spaces as "A=<<<1>>" and misspelling to "A=<<1>>" would give no compiler
error and unexpected runtime behaviour...

> 
> -- 
> Anthony Ramine
> 
> Le 29 avr. 2013 à 15:05, Raimo Niskanen a écrit :
> 
> > One final straw back then was this: the typo "A=<<<1>>" accidentally
> > becomes valid syntax with the proposed change.
> 

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB



More information about the erlang-patches mailing list