9 lines
No EOL
335 B
Text
9 lines
No EOL
335 B
Text
==== tests/cases/conformance/parser/ecmascript5/Statements/parserForStatement7.ts (3 errors) ====
|
|
for (new foo() in b) {
|
|
~~~~~~~~~
|
|
!!! Variable declarations of a 'for' statement must be of types 'string' or 'any'.
|
|
~~~
|
|
!!! Cannot find name 'foo'.
|
|
~
|
|
!!! Cannot find name 'b'.
|
|
} |