test/nashorn/script/basic/es6/spread.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
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
             ^