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

11 lines
599 B
Plaintext
Raw Normal View History

2015-02-27 03:16:21 +01:00
tests/cases/conformance/parser/ecmascript5/Statements/parserForStatement5.ts(1,6): error TS2491: The left-hand side of a 'for...in' statement cannot be a destructuring pattern.
tests/cases/conformance/parser/ecmascript5/Statements/parserForStatement5.ts(1,12): error TS2304: Cannot find name 'b'.
2014-07-13 01:04:16 +02:00
==== tests/cases/conformance/parser/ecmascript5/Statements/parserForStatement5.ts (2 errors) ====
for ({} in b) {
~~
2015-02-27 03:16:21 +01:00
!!! error TS2491: The left-hand side of a 'for...in' statement cannot be a destructuring pattern.
2014-07-13 01:04:16 +02:00
~
!!! error TS2304: Cannot find name 'b'.
2014-07-13 01:04:16 +02:00
}