2014-09-12 22:35:07 +02:00
|
|
|
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 += '';
|
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2364: Invalid left-hand side of assignment expression.
|
2014-07-13 01:04:16 +02:00
|
|
|
|