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

7 lines
290 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/conformance/parser/ecmascript5/Statements/parserForInStatement5.ts (2 errors) ====
for (var a: number in X) {
~
!!! The left-hand side of a 'for...in' statement cannot use a type annotation.
2014-07-13 01:04:16 +02:00
~
!!! Cannot find name 'X'.
}