Erfolg

tests.wurstscript.tests.ClosureTests.uninitialized4 (from tests.wurstscript.tests.AllTests)

Dauer: 0,45 Sekunden.

Standard Ausgabe (STDOUT)

Nullpointer exception when calling A.foo
Called A.foo on invalid object.
set x 2
get x 2
set x 3
get x 2
get x 3
set x 2
get x 2
set x 3
get x 2
get x 3
set x 2
get x 2
set x 3
get x 2
get x 3
set x 2
get x 2
set x 3
get x 2
get x 3
set x 2
get x 2
set x 3
get x 2
get x 3
set x 2
get x 2
set x 3
get x 2
get x 3
set x 2
get x 2
set x 3
get x 2
get x 3
set x 2
get x 2
set x 3
get x 2
get x 3

Standard Fehler (STDERR)

line 10:7 mismatched input '=' expecting {'and', 'or', 'castTo', 'div', 'mod', 'instanceof', '+', '-', '*', '/', '%', '.', '..', '==', '!=', '<', '<=', '>', '>=', NL}
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is null.
Variable C_alive is n
...[truncated 11142 chars]...
s input ')' expecting {'and', 'or', 'castTo', 'div', 'mod', 'instanceof', '+', '-', '*', '/', '%', '.', '..', '==', '!=', '<', '<=', '>', '>=', NL}
line 5:2 extraneous input 'end' expecting {'class', 'function', 'public', 'publicread', 'private', 'protected', 'native', 'nativetype', 'interface', 'module', 'abstract', 'static', 'thistype', 'override', 'constant', 'init', 'tuple', 'let', 'var', 'enum', ENDBLOCK, ID, ANNOTATION, HOTDOC_COMMENT}
line 6:10 extraneous input ')' expecting 'endpackage'