TypeScript/tests/baselines/reference/for-of3.errors.txt
2016-10-30 19:01:52 -07:00

8 lines
404 B
Plaintext

tests/cases/conformance/es6/for-ofStatements/for-of3.ts(2,6): error TS2487: The left-hand side of a 'for...of' statement must be a variable or a property access.
==== tests/cases/conformance/es6/for-ofStatements/for-of3.ts (1 errors) ====
var v: any;
for (v++ of []) { }
~~~
!!! error TS2487: The left-hand side of a 'for...of' statement must be a variable or a property access.