TypeScript/tests/baselines/reference/parserForInStatement6.errors.txt

7 lines
310 B
Plaintext
Raw Normal View History

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) {
~
!!! Only a single variable declaration is allowed in a 'for...in' statement.
~
!!! Cannot find name 'X'.
}