TypeScript/tests/baselines/reference/for-of54.errors.txt

9 lines
435 B
Plaintext
Raw Normal View History

2015-03-02 03:16:20 +01:00
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'.
}