view test/script/error/object_literal_in_new_nse.js.EXPECTED @ 1312:87f156db0b42

8086032: Add compiler error tests when syntax extensions are used with --no-syntax-extensions option Reviewed-by: attila, hannesw
author sundar
date Tue, 09 Jun 2015 14:19:57 +0530
parents
children
line wrap: on
line source
test/script/error/object_literal_in_new_nse.js:31:33 Expected ; but found {
var r = new java.lang.Runnable() {
                                 ^
test/script/error/object_literal_in_new_nse.js:32:15 Expected ident but found (
  run: function() { print("hello"); }
               ^
test/script/error/object_literal_in_new_nse.js:32:36 Expected eof but found }
  run: function() { print("hello"); }
                                    ^