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

Tue, 16 Aug 2016 21:41:28 -0700

author
asaha
date
Tue, 16 Aug 2016 21:41:28 -0700
changeset 1989
de8a9d055c88
parent 0
b1a7da25b547
permissions
-rw-r--r--

Added tag jdk8u102-b33 for changeset 36e3c21b5fca

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

mercurial