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.
2014-09-12 22:35:07 +02:00
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
~
2014-09-12 00:19:57 +02:00
!!! error TS2304: Cannot find name 'b'.
2014-07-13 01:04:16 +02:00
}