2015-02-20 01:36:48 +01:00
tests/cases/conformance/parser/ecmascript6/Iterators/parserForOfStatement3.ts(1,13): error TS1188: Only a single variable declaration is allowed in a 'for...of' statement.
2015-02-24 03:06:38 +01:00
tests/cases/conformance/parser/ecmascript6/Iterators/parserForOfStatement3.ts(1,18): error TS2304: Cannot find name 'X'.
2015-02-17 21:38:21 +01:00
2015-02-24 03:06:38 +01:00
==== tests/cases/conformance/parser/ecmascript6/Iterators/parserForOfStatement3.ts (2 errors) ====
2015-02-17 21:38:21 +01:00
for (var a, b of X) {
2015-02-20 01:36:48 +01:00
~
!!! error TS1188: Only a single variable declaration is allowed in a 'for...of' statement.
2015-02-24 03:06:38 +01:00
~
!!! error TS2304: Cannot find name 'X'.
2015-02-17 21:38:21 +01:00
}