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

7 lines
296 B
Text
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) {
~~~~~~~~~
!!! Variable declarations of a 'for' statement cannot use a type annotation.
~
!!! Cannot find name 'X'.
}