test/nashorn/script/basic/es6/spread.js.EXPECTED
author hannesw
Mon, 23 Apr 2018 17:45:05 +0200
changeset 49855 3739e9a5b6b5
parent 47217 72e3ae9a25eb
permissions -rw-r--r--
8201466: Nashorn: defineProperty setters/getters on prototype object ignored with numeric property names Reviewed-by: sundar, jlaskey
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
47217
72e3ae9a25eb 8187444: Forest Consolidation: Make build work
erikj
parents: 47216
diff changeset
     1
java.lang.RuntimeException: test/nashorn/script/basic/es6/spread.js#34:8<eval>:1:9 ES6 spread operator is not yet implemented
41924
d55f24e8953e 8156619: Unimplemented ES6 features should result in clear Error being thrown
hannesw
parents:
diff changeset
     2
var x = [...args]
d55f24e8953e 8156619: Unimplemented ES6 features should result in clear Error being thrown
hannesw
parents:
diff changeset
     3
         ^
47217
72e3ae9a25eb 8187444: Forest Consolidation: Make build work
erikj
parents: 47216
diff changeset
     4
java.lang.RuntimeException: test/nashorn/script/basic/es6/spread.js#34:8<eval>:1:15 ES6 spread operator is not yet implemented
41924
d55f24e8953e 8156619: Unimplemented ES6 features should result in clear Error being thrown
hannesw
parents:
diff changeset
     5
var x = [1, 2, ...args]
d55f24e8953e 8156619: Unimplemented ES6 features should result in clear Error being thrown
hannesw
parents:
diff changeset
     6
               ^
47217
72e3ae9a25eb 8187444: Forest Consolidation: Make build work
erikj
parents: 47216
diff changeset
     7
java.lang.RuntimeException: test/nashorn/script/basic/es6/spread.js#34:8<eval>:1:9 ES6 spread operator is not yet implemented
41924
d55f24e8953e 8156619: Unimplemented ES6 features should result in clear Error being thrown
hannesw
parents:
diff changeset
     8
var x = [...args, 3, 5]
d55f24e8953e 8156619: Unimplemented ES6 features should result in clear Error being thrown
hannesw
parents:
diff changeset
     9
         ^
47217
72e3ae9a25eb 8187444: Forest Consolidation: Make build work
erikj
parents: 47216
diff changeset
    10
java.lang.RuntimeException: test/nashorn/script/basic/es6/spread.js#34:8<eval>:1:13 ES6 spread operator is not yet implemented
41924
d55f24e8953e 8156619: Unimplemented ES6 features should result in clear Error being thrown
hannesw
parents:
diff changeset
    11
var r = func(...arr)
d55f24e8953e 8156619: Unimplemented ES6 features should result in clear Error being thrown
hannesw
parents:
diff changeset
    12
             ^