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

9 lines
320 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/conformance/parser/ecmascript5/Statements/parserForStatement6.ts (3 errors) ====
for (foo() in b) {
~~~
!!! Cannot find name 'foo'.
~~~~~
!!! The left-hand side of a 'for...in' statement must be of type 'string' or 'any'.
2014-07-13 01:04:16 +02:00
~
!!! Cannot find name 'b'.
}