On Sep 6, 2012, at 4:35 PM, Brendan Eich wrote:
> Allen Wirfs-Brock wrote:
>>>
>>>
>>
>> According to the specification, those all should produce runtime
>> ReferenceError exceptions. However, at least Firefox, reports them as early
>> syntax errors. Technically, that is out of conformance with the spec.
>
> Really? Clause 16 says:
>
> "An implementation must treat any instance of the following kinds of errors
> as an early error:
>
> * ...
> * Attempts to call PutValue on any value for which an early determination can
> be made that the value is
> not a Reference (for example, executing the assignment statement 3=4)."
>
> How are we not conforming?
Correct, I forgot about clause 16. Probably a good indication that some of
these operators need an informative note referring to that Clause 16
requirement.
Allen
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss