RFR 8057678: Tests for let&const keywords
hannes.wallnoefer at oracle.com
Fri Sep 5 15:08:54 UTC 2014
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.
Am 2014-09-05 um 15:30 schrieb Sergey Lugovoy:
> Please review :
> bug : https://bugs.openjdk.java.net/browse/JDK-8057678
More information about the nashorn-dev