test/nashorn/script/basic/es6/let-redeclare-extra.js.EXPECTED
author hannesw
Mon, 23 Apr 2018 17:45:05 +0200
changeset 49855 3739e9a5b6b5
parent 47217 72e3ae9a25eb
permissions -rw-r--r--
8201466: Nashorn: defineProperty setters/getters on prototype object ignored with numeric property names Reviewed-by: sundar, jlaskey

SyntaxError: test/nashorn/script/basic/es6/let-redeclare-extra.js#35:8<eval>:2:8 Variable "x" has already been declared
    let x = 2;
        ^
SyntaxError: test/nashorn/script/basic/es6/let-redeclare-extra.js#35:8<eval>:3:8 Variable "x" has already been declared
    var x = 2;
        ^
SyntaxError: test/nashorn/script/basic/es6/let-redeclare-extra.js#35:8<eval>:3:8 Variable "x" has already been declared
    let x = undefined;
        ^
SyntaxError: test/nashorn/script/basic/es6/let-redeclare-extra.js#35:8<eval>:2:10 Variable "x" has already been declared
    const x = function (){};
          ^
SyntaxError: test/nashorn/script/basic/es6/let-redeclare-extra.js#35:8<eval>:2:8 Variable "a" has already been declared
    let a = 2;
        ^