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

11 lines
621 B
Plaintext
Raw Normal View History

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