/
githubmirror
/
jdk11u-dev
Обзор
Документация
Войти
/
githubmirror
/
jdk11u-dev
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/nashorn/script/basic/es6/restparam.js.EXPECTED
15 строк
928 B
Erik Joelsson
8187444: Forest Consolidation: Make build work
12 сен 2017, 20:03
12 сен 2017, 20:03
72c4ec5
Код
Авторство
О чём код?
java.lang.RuntimeException: test/nashorn/script/basic/es6/restparam.js#35:6<eval>:1:17 ES6 function rest parameter declaration is not yet implemented function func(...args) {} ^ java.lang.RuntimeException: test/nashorn/script/basic/es6/restparam.js#35:6<eval>:1:23 ES6 function rest parameter declaration is not yet implemented function func(x, y, ...args) {} ^ java.lang.RuntimeException: test/nashorn/script/basic/es6/restparam.js#35:6<eval>:1:11 ES6 function rest parameter declaration is not yet implemented ({ meth(...args) {} }) ^ java.lang.RuntimeException: test/nashorn/script/basic/es6/restparam.js#35:6<eval>:1:17 ES6 function rest parameter declaration is not yet implemented ({ meth(x, y, ...args) {} }) ^ SyntaxError: test/nashorn/script/basic/es6/restparam.js#35:6<eval>:1:15 Duplicate parameter name "x" ({ meth(x = 0, x) {} }) ^