2015-03-06 00:21:00 +01:00
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-03-09 19:27:02 +01:00
tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement5.ts(1,23): error TS2304: Cannot find name 'X'.
2015-02-17 21:38:21 +01:00
2015-03-09 19:27:02 +01:00
==== tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement5.ts (2 errors) ====
2015-02-17 21:38:21 +01:00
for (var a: number of X) {
2015-03-06 00:21:00 +01:00
~
!!! error TS2483: The left-hand side of a 'for...of' statement cannot use a type annotation.
2015-03-09 19:27:02 +01:00
~
!!! error TS2304: Cannot find name 'X'.
2015-02-17 21:38:21 +01:00
}