test/nashorn/script/error/object_literal_in_new_nse.js.EXPECTED
author erikj
Tue, 12 Sep 2017 19:03:39 +0200
changeset 47216 71c04702a3d5
parent 31098 nashorn/test/script/error/object_literal_in_new_nse.js.EXPECTED@e98a3ba5d5da
child 47217 72e3ae9a25eb
permissions -rw-r--r--
8187443: Forest Consolidation: Move files to unified layout Reviewed-by: darcy, ihse
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
31098
e98a3ba5d5da 8086032: Add compiler error tests when syntax extensions are used with --no-syntax-extensions option
sundar
parents:
diff changeset
     1
test/script/error/object_literal_in_new_nse.js:31:33 Expected ; but found {
e98a3ba5d5da 8086032: Add compiler error tests when syntax extensions are used with --no-syntax-extensions option
sundar
parents:
diff changeset
     2
var r = new java.lang.Runnable() {
e98a3ba5d5da 8086032: Add compiler error tests when syntax extensions are used with --no-syntax-extensions option
sundar
parents:
diff changeset
     3
                                 ^
e98a3ba5d5da 8086032: Add compiler error tests when syntax extensions are used with --no-syntax-extensions option
sundar
parents:
diff changeset
     4
test/script/error/object_literal_in_new_nse.js:32:15 Expected ident but found (
e98a3ba5d5da 8086032: Add compiler error tests when syntax extensions are used with --no-syntax-extensions option
sundar
parents:
diff changeset
     5
  run: function() { print("hello"); }
e98a3ba5d5da 8086032: Add compiler error tests when syntax extensions are used with --no-syntax-extensions option
sundar
parents:
diff changeset
     6
               ^
e98a3ba5d5da 8086032: Add compiler error tests when syntax extensions are used with --no-syntax-extensions option
sundar
parents:
diff changeset
     7
test/script/error/object_literal_in_new_nse.js:32:36 Expected eof but found }
e98a3ba5d5da 8086032: Add compiler error tests when syntax extensions are used with --no-syntax-extensions option
sundar
parents:
diff changeset
     8
  run: function() { print("hello"); }
e98a3ba5d5da 8086032: Add compiler error tests when syntax extensions are used with --no-syntax-extensions option
sundar
parents:
diff changeset
     9
                                    ^