TypeScript/tests/baselines/reference/for-of54.errors.txt
2015-03-01 18:16:20 -08:00

9 lines
435 B
Plaintext

tests/cases/conformance/es6/for-ofStatements/for-of54.ts(2,9): error TS2481: Cannot initialize outer scoped variable 'v' in the same scope as block scoped declaration 'v'.
==== tests/cases/conformance/es6/for-ofStatements/for-of54.ts (1 errors) ====
for (let v of []) {
var v = 0;
~
!!! error TS2481: Cannot initialize outer scoped variable 'v' in the same scope as block scoped declaration 'v'.
}