TypeScript/tests/baselines/reference/parserES5ForOfStatement5.errors.txt

8 lines
434 B
Text
Raw Normal View History

tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement5.ts(1,10): error TS2483: The left-hand side of a 'for...of' statement cannot use a type annotation.
2015-02-17 21:38:21 +01:00
==== tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement5.ts (1 errors) ====
for (var a: number of X) {
~
!!! error TS2483: The left-hand side of a 'for...of' statement cannot use a type annotation.
2015-02-17 21:38:21 +01:00
}