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

9 lines
320 B
Plaintext

==== 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'.
~
!!! Cannot find name 'b'.
}