2014-11-19 11:11:17 +01:00
tests/cases/conformance/parser/ecmascript5/Statements/parserForInStatement6.ts(1,17): error TS1091: Only a single variable declaration is allowed in a 'for...in' statement.
2014-09-12 22:35:07 +02:00
tests/cases/conformance/parser/ecmascript5/Statements/parserForInStatement6.ts(1,26): error TS2304: Cannot find name 'X'.
2014-07-13 01:04:16 +02:00
==== tests/cases/conformance/parser/ecmascript5/Statements/parserForInStatement6.ts (2 errors) ====
for (var a = 1, b = 2 in X) {
2014-11-19 11:11:17 +01:00
~
2014-09-12 00:19:57 +02:00
!!! error TS1091: Only a single variable declaration is allowed in a 'for...in' statement.
2014-07-13 01:04:16 +02:00
~
2014-09-12 00:19:57 +02:00
!!! error TS2304: Cannot find name 'X'.
2014-07-13 01:04:16 +02:00
}