e44d39d4eb
* Updated error message for TS2539 * Switch to multiple error messages * inline variable Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
11 lines
355 B
Plaintext
11 lines
355 B
Plaintext
tests/cases/compiler/concatClassAndString.ts(4,1): error TS2629: Cannot assign to 'f' because it is a class.
|
|
|
|
|
|
==== tests/cases/compiler/concatClassAndString.ts (1 errors) ====
|
|
// Shouldn't compile (the long form f = f + ""; doesn't):
|
|
class f { }
|
|
|
|
f += '';
|
|
~
|
|
!!! error TS2629: Cannot assign to 'f' because it is a class.
|
|
|