test/script/error/NASHORN-154/with_in_strict.js.EXPECTED

Tue, 09 Jun 2015 14:19:57 +0530

author
sundar
date
Tue, 09 Jun 2015 14:19:57 +0530
changeset 1404
271aceb4b3f0
parent 0
b1a7da25b547
permissions
-rw-r--r--

8086032: Add compiler error tests when syntax extensions are used with --no-syntax-extensions option
Reviewed-by: attila, hannesw

aoqi@0 1 test/script/error/NASHORN-154/with_in_strict.js:36:0 "with" statement cannot be used in strict mode
aoqi@0 2 with({}) {
aoqi@0 3 ^
aoqi@0 4 test/script/error/NASHORN-154/with_in_strict.js:36:7 Expected ; but found )
aoqi@0 5 with({}) {
aoqi@0 6 ^
aoqi@0 7 test/script/error/NASHORN-154/with_in_strict.js:38:0 Expected eof but found }
aoqi@0 8 }
aoqi@0 9 ^

mercurial