test/script/error/NASHORN-154/literal_data_and_accessor.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

     1 test/script/error/NASHORN-154/literal_data_and_accessor.js:35:21 Property "foo" already defined
     2 var obj = { foo: 42, get foo() { return 'hello' } };
     3                      ^
     4 test/script/error/NASHORN-154/literal_data_and_accessor.js:38:22 Property "foo" already defined
     5 var obj2 = { foo: 42, set foo(x) { } };
     6                       ^

mercurial