TypeScript/tests/baselines/reference/plusOperatorInvalidOperations.errors.txt
2014-07-12 17:30:19 -07:00

13 lines
373 B
Plaintext

==== tests/cases/conformance/expressions/unaryOperators/plusOperator/plusOperatorInvalidOperations.ts (2 errors) ====
// Unary operator +
var b;
// operand before +
var result1 = b+; //expect error
~
!!! Expression expected.
// miss an operand
var result2 =+;
~
!!! Expression expected.