TypeScript/tests/baselines/reference/constDeclarations-access.errors.txt

11 lines
366 B
Plaintext
Raw Normal View History

2014-10-15 01:52:12 +02:00
tests/cases/compiler/file2.ts(1,1): error TS2449: The operand of an increment or decrement operator cannot be a constant.
==== tests/cases/compiler/file1.ts (0 errors) ====
const x = 0
==== tests/cases/compiler/file2.ts (1 errors) ====
x++;
~
!!! error TS2449: The operand of an increment or decrement operator cannot be a constant.