mirror of
https://github.com/nodejs/node.git
synced 2025-05-19 02:54:19 +00:00

Upgrade the bundled V8 and update code in src/ and lib/ to the new API. Notable backwards incompatible changes are the removal of the smalloc module and dropped support for CESU-8 decoding. CESU-8 support can be brought back if necessary by doing UTF-8 decoding ourselves. This commit includes https://codereview.chromium.org/1192973004 to fix a build error on python 2.6 systems. The original commit log follows: Use optparse in js2c.py for python compatibility Without this change, V8 won't build on RHEL/CentOS 6 because the distro python is too old to know about the argparse module. PR-URL: https://github.com/nodejs/io.js/pull/2022 Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Trevor Norris <trev.norris@gmail.com>
66 lines
4.3 KiB
Plaintext
66 lines
4.3 KiB
Plaintext
Tests for ES6 class syntax containing semicolon in the class body
|
|
|
|
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
|
PASS class A { foo;() { } } threw exception SyntaxError: Unexpected token ;.
|
|
PASS class A { foo() ; { } } threw exception SyntaxError: Unexpected token ;.
|
|
PASS class A { get ; foo() { } } threw exception SyntaxError: Unexpected token ;.
|
|
PASS class A { get foo;() { } } threw exception SyntaxError: Unexpected token ;.
|
|
PASS class A { get foo() ; { } } threw exception SyntaxError: Unexpected token ;.
|
|
PASS class A { set ; foo(x) { } } threw exception SyntaxError: Unexpected token ;.
|
|
PASS class A { set foo;(x) { } } threw exception SyntaxError: Unexpected token ;.
|
|
PASS class A { set foo(x) ; { } } threw exception SyntaxError: Unexpected token ;.
|
|
PASS class A { ; } did not throw exception.
|
|
PASS class A { foo() { } ; } did not throw exception.
|
|
PASS class A { get foo() { } ; } did not throw exception.
|
|
PASS class A { set foo(x) { } ; } did not throw exception.
|
|
PASS class A { static foo() { } ; } did not throw exception.
|
|
PASS class A { static get foo() { } ; } did not throw exception.
|
|
PASS class A { static set foo(x) { } ; } did not throw exception.
|
|
PASS class A { ; foo() { } } did not throw exception.
|
|
PASS class A { ; get foo() { } } did not throw exception.
|
|
PASS class A { ; set foo(x) { } } did not throw exception.
|
|
PASS class A { ; static foo() { } } did not throw exception.
|
|
PASS class A { ; static get foo() { } } did not throw exception.
|
|
PASS class A { ; static set foo(x) { } } did not throw exception.
|
|
PASS class A { foo() { } ; foo() {} } did not throw exception.
|
|
PASS class A { foo() { } ; get foo() {} } did not throw exception.
|
|
PASS class A { foo() { } ; set foo(x) {} } did not throw exception.
|
|
PASS class A { foo() { } ; static foo() {} } did not throw exception.
|
|
PASS class A { foo() { } ; static get foo() {} } did not throw exception.
|
|
PASS class A { foo() { } ; static set foo(x) {} } did not throw exception.
|
|
PASS class A { get foo() { } ; foo() {} } did not throw exception.
|
|
PASS class A { get foo() { } ; get foo() {} } did not throw exception.
|
|
PASS class A { get foo() { } ; set foo(x) {} } did not throw exception.
|
|
PASS class A { get foo() { } ; static foo() {} } did not throw exception.
|
|
PASS class A { get foo() { } ; static get foo() {} } did not throw exception.
|
|
PASS class A { get foo() { } ; static set foo(x) {} } did not throw exception.
|
|
PASS class A { set foo(x) { } ; foo() {} } did not throw exception.
|
|
PASS class A { set foo(x) { } ; get foo() {} } did not throw exception.
|
|
PASS class A { set foo(x) { } ; set foo(x) {} } did not throw exception.
|
|
PASS class A { set foo(x) { } ; static foo() {} } did not throw exception.
|
|
PASS class A { set foo(x) { } ; static get foo() {} } did not throw exception.
|
|
PASS class A { set foo(x) { } ; static set foo(x) {} } did not throw exception.
|
|
PASS class A { static foo() { } ; foo() {} } did not throw exception.
|
|
PASS class A { static foo() { } ; get foo() {} } did not throw exception.
|
|
PASS class A { static foo() { } ; set foo(x) {} } did not throw exception.
|
|
PASS class A { static foo() { } ; static foo() {} } did not throw exception.
|
|
PASS class A { static foo() { } ; static get foo() {} } did not throw exception.
|
|
PASS class A { static foo() { } ; static set foo(x) {} } did not throw exception.
|
|
PASS class A { static get foo() { } ; foo() {} } did not throw exception.
|
|
PASS class A { static get foo() { } ; get foo() {} } did not throw exception.
|
|
PASS class A { static get foo() { } ; set foo(x) {} } did not throw exception.
|
|
PASS class A { static get foo() { } ; static foo() {} } did not throw exception.
|
|
PASS class A { static get foo() { } ; static get foo() {} } did not throw exception.
|
|
PASS class A { static get foo() { } ; static set foo(x) {} } did not throw exception.
|
|
PASS class A { static set foo(x) { } ; foo() {} } did not throw exception.
|
|
PASS class A { static set foo(x) { } ; get foo() {} } did not throw exception.
|
|
PASS class A { static set foo(x) { } ; set foo(x) {} } did not throw exception.
|
|
PASS class A { static set foo(x) { } ; static foo() {} } did not throw exception.
|
|
PASS class A { static set foo(x) { } ; static get foo() {} } did not throw exception.
|
|
PASS class A { static set foo(x) { } ; static set foo(x) {} } did not throw exception.
|
|
PASS successfullyParsed is true
|
|
|
|
TEST COMPLETE
|