2015-02-20 01:36:48 +01:00
tests/cases/conformance/parser/ecmascript6/Iterators/parserForOfStatement5.ts(1,10): error TS2483: The left-hand side of a 'for...of' statement cannot use a type annotation.
2015-02-24 03:06:38 +01:00
tests/cases/conformance/parser/ecmascript6/Iterators/parserForOfStatement5.ts(1,23): error TS2304: Cannot find name 'X'.
2015-02-18 03:16:00 +01:00
2015-02-24 03:06:38 +01:00
==== tests/cases/conformance/parser/ecmascript6/Iterators/parserForOfStatement5.ts (2 errors) ====
2015-02-18 03:16:00 +01:00
for (var a: number of X) {
2015-02-20 01:36:48 +01:00
~
!!! error TS2483: The left-hand side of a 'for...of' statement cannot use a type annotation.
2015-02-24 03:06:38 +01:00
~
!!! error TS2304: Cannot find name 'X'.
2015-02-18 03:16:00 +01:00
}