RFR 8073707: const re-assignment should not reported as a "early error"

Marcus Lagergren marcus.lagergren at oracle.com
Tue Feb 24 10:28:18 UTC 2015


+1 with this.

/M

> On 24 Feb 2015, at 11:09, A. Sundararajan <sundararajan.athijegannathan at oracle.com> wrote:
> 
> Okay, thanks.
> 
> It would be better if we separate early errors tests from runtime errors. Perhaps test/script/error/es6 directory for early-error scripts..
> 
> -Sundar
> 
> On Tuesday 24 February 2015 03:38 PM, Hannes Wallnoefer wrote:
>> The fix is incomplete as it does not substitute early error checks with runtime checks for local (non-scope) symbols.
>> 
>> This also exposes a gap in our tests regarding non-scope const. I'm assigning the bug to myself to add the missing check and tests.
>> 
>> Hannes
>> 
>> Am 2015-02-24 um 10:34 schrieb A. Sundararajan:
>>> Please review http://cr.openjdk.java.net/~sundar/8073707/ for https://bugs.openjdk.java.net/browse/JDK-8073707
>>> 
>>> Thanks,
>>> -Sundar
>> 
> 



More information about the nashorn-dev mailing list