RFR 8057678: Tests for let&const keywords
Hannes Wallnoefer
hannes.wallnoefer at oracle.com
Fri Sep 5 15:08:54 UTC 2014
Hi Sergey,
These tests all look good.
Note that the output of the last test in let_const_closure.js is
currently wrong. Nashorn is not yet complying to the spec here, it
should copy let-declared variables to the loop scope on each iteration
and print 0, 1, and 2 in the first loop.
I'm filing a new bug for this. I think it's okay to leave the test in
there, but maybe add a comment that this is a known bug.
Hannes
Am 2014-09-05 um 15:30 schrieb Sergey Lugovoy:
> Please review :
> http://cr.openjdk.java.net/~avstepan/slugovoy/8057678/webrev.00/
> bug : https://bugs.openjdk.java.net/browse/JDK-8057678
>
More information about the nashorn-dev
mailing list