TypeScript/tests/baselines/reference/for-of3.errors.txt
2015-02-26 18:17:08 -08:00

8 lines
323 B
Plaintext

tests/cases/conformance/es6/for-ofStatements/for-of3.ts(2,6): error TS2487: Invalid left-hand side in 'for...of' statement.
==== tests/cases/conformance/es6/for-ofStatements/for-of3.ts (1 errors) ====
var v;
for (v++ of []) { }
~~~
!!! error TS2487: Invalid left-hand side in 'for...of' statement.