2014-12-17 00:56:56 +01:00
tests/cases/conformance/parser/ecmascript5/Statements/parserForInStatement7.ts(1,25): 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/parserForInStatement7.ts(1,43): error TS2304: Cannot find name 'X'.
2015-02-18 03:16:00 +01:00
==== tests/cases/conformance/parser/ecmascript5/Statements/parserForInStatement7.ts (2 errors) ====
2014-07-13 01:04:16 +02:00
for (var a: number = 1, b: string = "" in X) {
2014-12-17 00:56:56 +01: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
}