test/nashorn/script/error/NASHORN-154/literal_data_and_accessor.js.EXPECTED
author erikj
Tue, 12 Sep 2017 19:03:56 +0200
changeset 47217 72e3ae9a25eb
parent 47216 71c04702a3d5
permissions -rw-r--r--
8187444: Forest Consolidation: Make build work Reviewed-by: darcy, ihse Contributed-by: erik.joelsson@oracle.com, maurizio.cimadamore@oracle.com, sundararajan.athijegannathan@oracle.com, jonathan.gibbons@oracle.com

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