tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement4.ts(1,10): error TS1190: The variable declaration of a 'for...of' statement cannot have an initializer.
tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement4.ts(1,19): error TS2304: Cannot find name 'X'.


==== tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement4.ts (2 errors) ====
    for (var a = 1 of X) {
             ~
!!! error TS1190: The variable declaration of a 'for...of' statement cannot have an initializer.
                      ~
!!! error TS2304: Cannot find name 'X'.
    }