test/nashorn/script/basic/es6/spread.js.EXPECTED
author erikj
Tue, 12 Sep 2017 19:03:39 +0200
changeset 47216 71c04702a3d5
parent 41924 nashorn/test/script/basic/es6/spread.js.EXPECTED@d55f24e8953e
child 47217 72e3ae9a25eb
permissions -rw-r--r--
8187443: Forest Consolidation: Move files to unified layout Reviewed-by: darcy, ihse
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
41924
d55f24e8953e 8156619: Unimplemented ES6 features should result in clear Error being thrown
hannesw
parents:
diff changeset
     1
java.lang.RuntimeException: test/script/basic/es6/spread.js#34:8<eval>:1:9 ES6 spread operator is not yet implemented
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
         ^
d55f24e8953e 8156619: Unimplemented ES6 features should result in clear Error being thrown
hannesw
parents:
diff changeset
     4
java.lang.RuntimeException: test/script/basic/es6/spread.js#34:8<eval>:1:15 ES6 spread operator is not yet implemented
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
               ^
d55f24e8953e 8156619: Unimplemented ES6 features should result in clear Error being thrown
hannesw
parents:
diff changeset
     7
java.lang.RuntimeException: test/script/basic/es6/spread.js#34:8<eval>:1:9 ES6 spread operator is not yet implemented
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
         ^
d55f24e8953e 8156619: Unimplemented ES6 features should result in clear Error being thrown
hannesw
parents:
diff changeset
    10
java.lang.RuntimeException: test/script/basic/es6/spread.js#34:8<eval>:1:13 ES6 spread operator is not yet implemented
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
             ^