==== 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'. }