nashorn/test/script/error/object_literal_in_new_nse.js.EXPECTED
author jjg
Fri, 12 May 2017 10:43:28 -0700
changeset 45135 d4fc433ea810
parent 31098 e98a3ba5d5da
permissions -rw-r--r--
Merge
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
                                    ^