nashorn/test/script/basic/es6/let-redeclare-extra.js.EXPECTED
changeset 26502 71d3891037bb
child 26504 ed05e2f4c2db
equal deleted inserted replaced
26501:3a1da7b354c1 26502:71d3891037bb
       
     1 SyntaxError: test/script/basic/es6/let-redeclare-extra.js#35:8<eval>@2:2:8 Variable "x" has already been declared
       
     2     let x = 2;
       
     3         ^
       
     4 SyntaxError: test/script/basic/es6/let-redeclare-extra.js#35:8<eval>@4:3:8 Variable "x" has already been declared
       
     5     var x = 2;
       
     6         ^
       
     7 SyntaxError: test/script/basic/es6/let-redeclare-extra.js#35:8<eval>@4:2:8 Variable "x" has already been declared
       
     8     var x = 2;
       
     9         ^
       
    10 SyntaxError: test/script/basic/es6/let-redeclare-extra.js#35:8<eval>@4:2:10 Variable "x" has already been declared
       
    11     const x = function (){};
       
    12           ^
       
    13 SyntaxError: test/script/basic/es6/let-redeclare-extra.js#35:8<eval>@4:3:13 Variable "a" has already been declared
       
    14     function a () {};
       
    15              ^