Erfolg

tests.wurstscript.tests.OpOverloading.testOverloading1 (from tests.wurstscript.tests.AllTests)

Dauer: 0,52 Sekunden.

Standard Ausgabe (STDOUT)

Nullpointer exception when calling A.foo
has getArraySize ExprIntVal(, 4)
has getArraySize ExprIntVal(, 4)
has getArraySize ExprFunctionCall(, foo, TypeExprList(), Arguments())
Called A.foo on invalid object.
has getArraySize ExprIntVal(, 5)
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
has getArraySize ExprVarAccess(, SAVED_UNITS_PER_ANGLE)
has getArraySize ExprVarAccess(, SAVED_UNITS_PER_ANGLE)
has getArraySize ExprVarAccess(, MAX_SUB_OPTIONS)
has getArraySize ExprVarAccess(, MAX_SUB_OPTIONS)
has getArraySize ExprVarAccess(, ORDERS_TO_HOLD)
has getArraySize ExprVarAccess(, MAX_TITLES)
has getArraySize ExprVarAccess(, MAX_TITLES)

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 11171 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'