Skip to content

Commit 22f80b9

Browse files
committed
Adjust baselines after merge
1 parent 1204d31 commit 22f80b9

File tree

3 files changed

+17
-23
lines changed

3 files changed

+17
-23
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
tests/cases/conformance/statements/for-ofStatements/ES5For-of17.ts(3,20): error TS2448: Block-scoped variable 'v' used before its declaration.
2+
3+
4+
==== tests/cases/conformance/statements/for-ofStatements/ES5For-of17.ts (1 errors) ====
5+
for (let v of []) {
6+
v;
7+
for (let v of [v]) {
8+
~
9+
!!! error TS2448: Block-scoped variable 'v' used before its declaration.
10+
var x = v;
11+
v++;
12+
}
13+
}

tests/baselines/reference/ES5For-of17.types

Lines changed: 0 additions & 22 deletions
This file was deleted.

tests/baselines/reference/ES5For-of20.errors.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1+
tests/cases/conformance/statements/for-ofStatements/ES5For-of20.ts(3,20): error TS2448: Block-scoped variable 'v' used before its declaration.
12
tests/cases/conformance/statements/for-ofStatements/ES5For-of20.ts(4,15): error TS1155: 'const' declarations must be initialized
23

34

4-
==== tests/cases/conformance/statements/for-ofStatements/ES5For-of20.ts (1 errors) ====
5+
==== tests/cases/conformance/statements/for-ofStatements/ES5For-of20.ts (2 errors) ====
56
for (let v of []) {
67
let v;
78
for (let v of [v]) {
9+
~
10+
!!! error TS2448: Block-scoped variable 'v' used before its declaration.
811
const v;
912
~
1013
!!! error TS1155: 'const' declarations must be initialized

0 commit comments

Comments
 (0)