TypeScript/tests/baselines/reference/parserForInStatement3.errors.txt
2014-09-11 16:11:08 -07:00

7 lines
314 B
Plaintext

==== tests/cases/conformance/parser/ecmascript5/Statements/parserForInStatement3.ts (2 errors) ====
for (var a, b in X) {
~
!!! error TS1091: Only a single variable declaration is allowed in a 'for...in' statement.
~
!!! error TS2304: Cannot find name 'X'.
}