2015-02-18 02:52:55 +01:00
tests/cases/conformance/parser/ecmascript5/Statements/parserForInStatement4.ts(1,10): error TS1189: The variable declaration of a 'for...in' statement cannot have an initializer.
2014-09-12 22:35:07 +02:00
tests/cases/conformance/parser/ecmascript5/Statements/parserForInStatement4.ts(1,19): error TS2304: Cannot find name 'X'.
2015-02-18 02:52:55 +01:00
==== tests/cases/conformance/parser/ecmascript5/Statements/parserForInStatement4.ts (2 errors) ====
2014-07-13 01:04:16 +02:00
for (var a = 1 in X) {
2015-02-18 02:52:55 +01:00
~
!!! error TS1189: The variable declaration of a 'for...in' statement cannot have an initializer.
2014-07-13 01:04:16 +02:00
~
2014-09-12 00:19:57 +02:00
!!! error TS2304: Cannot find name 'X'.
2014-07-13 01:04:16 +02:00
}