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>
53 lines
2.4 KiB
Plaintext
53 lines
2.4 KiB
Plaintext
tests/cases/compiler/arithAssignTyping.ts(3,1): error TS2629: Cannot assign to 'f' because it is a class.
|
|
tests/cases/compiler/arithAssignTyping.ts(4,1): error TS2629: Cannot assign to 'f' because it is a class.
|
|
tests/cases/compiler/arithAssignTyping.ts(5,1): error TS2629: Cannot assign to 'f' because it is a class.
|
|
tests/cases/compiler/arithAssignTyping.ts(6,1): error TS2629: Cannot assign to 'f' because it is a class.
|
|
tests/cases/compiler/arithAssignTyping.ts(7,1): error TS2629: Cannot assign to 'f' because it is a class.
|
|
tests/cases/compiler/arithAssignTyping.ts(8,1): error TS2629: Cannot assign to 'f' because it is a class.
|
|
tests/cases/compiler/arithAssignTyping.ts(9,1): error TS2629: Cannot assign to 'f' because it is a class.
|
|
tests/cases/compiler/arithAssignTyping.ts(10,1): error TS2629: Cannot assign to 'f' because it is a class.
|
|
tests/cases/compiler/arithAssignTyping.ts(11,1): error TS2629: Cannot assign to 'f' because it is a class.
|
|
tests/cases/compiler/arithAssignTyping.ts(12,1): error TS2629: Cannot assign to 'f' because it is a class.
|
|
tests/cases/compiler/arithAssignTyping.ts(13,1): error TS2629: Cannot assign to 'f' because it is a class.
|
|
tests/cases/compiler/arithAssignTyping.ts(14,1): error TS2629: Cannot assign to 'f' because it is a class.
|
|
|
|
|
|
==== tests/cases/compiler/arithAssignTyping.ts (12 errors) ====
|
|
class f { }
|
|
|
|
f += ''; // error
|
|
~
|
|
!!! error TS2629: Cannot assign to 'f' because it is a class.
|
|
f += 1; // error
|
|
~
|
|
!!! error TS2629: Cannot assign to 'f' because it is a class.
|
|
f -= 1; // error
|
|
~
|
|
!!! error TS2629: Cannot assign to 'f' because it is a class.
|
|
f *= 1; // error
|
|
~
|
|
!!! error TS2629: Cannot assign to 'f' because it is a class.
|
|
f /= 1; // error
|
|
~
|
|
!!! error TS2629: Cannot assign to 'f' because it is a class.
|
|
f %= 1; // error
|
|
~
|
|
!!! error TS2629: Cannot assign to 'f' because it is a class.
|
|
f &= 1; // error
|
|
~
|
|
!!! error TS2629: Cannot assign to 'f' because it is a class.
|
|
f |= 1; // error
|
|
~
|
|
!!! error TS2629: Cannot assign to 'f' because it is a class.
|
|
f <<= 1; // error
|
|
~
|
|
!!! error TS2629: Cannot assign to 'f' because it is a class.
|
|
f >>= 1; // error
|
|
~
|
|
!!! error TS2629: Cannot assign to 'f' because it is a class.
|
|
f >>>= 1; // error
|
|
~
|
|
!!! error TS2629: Cannot assign to 'f' because it is a class.
|
|
f ^= 1; // error
|
|
~
|
|
!!! error TS2629: Cannot assign to 'f' because it is a class. |