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

14 lines
740 B
Plaintext
Raw Normal View History

2015-01-30 02:15:57 +01:00
tests/cases/conformance/parser/ecmascript5/Statements/parserForStatement7.ts(1,6): error TS2406: Invalid left-hand side in 'for...in' statement.
tests/cases/conformance/parser/ecmascript5/Statements/parserForStatement7.ts(1,10): error TS2304: Cannot find name 'foo'.
tests/cases/conformance/parser/ecmascript5/Statements/parserForStatement7.ts(1,19): error TS2304: Cannot find name 'b'.
2014-07-13 01:04:16 +02:00
==== tests/cases/conformance/parser/ecmascript5/Statements/parserForStatement7.ts (3 errors) ====
for (new foo() in b) {
~~~~~~~~~
2015-01-30 02:15:57 +01:00
!!! error TS2406: Invalid left-hand side in 'for...in' statement.
2014-07-13 01:04:16 +02:00
~~~
!!! error TS2304: Cannot find name 'foo'.
2014-07-13 01:04:16 +02:00
~
!!! error TS2304: Cannot find name 'b'.
2014-07-13 01:04:16 +02:00
}