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

14 lines
723 B
Plaintext
Raw Normal View History

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