TypeScript/tests/baselines/reference/plusOperatorInvalidOperations.errors.txt

13 lines
373 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== 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.