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

11 lines
365 B
Plaintext
Raw Normal View History

tests/cases/compiler/concatClassAndString.ts(4,1): error TS2364: Invalid left-hand side of assignment expression.
2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/concatClassAndString.ts (1 errors) ====
// Shouldn't compile (the long form f = f + ""; doesn't):
class f { }
f += '';
~
!!! error TS2364: Invalid left-hand side of assignment expression.
2014-07-13 01:04:16 +02:00