8 lines
No EOL
232 B
Text
8 lines
No EOL
232 B
Text
==== tests/cases/compiler/concatClassAndString.ts (1 errors) ====
|
|
// Shouldn't compile (the long form f = f + ""; doesn't):
|
|
class f { }
|
|
|
|
f += '';
|
|
~
|
|
!!! Invalid left-hand side of assignment expression.
|
|
|