fix failing test
This commit is contained in:
parent
0cb490e2c2
commit
e5a0f60d4c
3 changed files with 6 additions and 9 deletions
|
@ -1,5 +1,4 @@
|
||||||
//// [SystemModuleForStatementNoInitializer.ts]
|
//// [SystemModuleForStatementNoInitializer.ts]
|
||||||
|
|
||||||
export { };
|
export { };
|
||||||
|
|
||||||
let i = 0;
|
let i = 0;
|
||||||
|
|
|
@ -1,23 +1,22 @@
|
||||||
=== tests/cases/compiler/SystemModuleForStatementNoInitializer.ts ===
|
=== tests/cases/compiler/SystemModuleForStatementNoInitializer.ts ===
|
||||||
|
|
||||||
export { };
|
export { };
|
||||||
|
|
||||||
let i = 0;
|
let i = 0;
|
||||||
>i : Symbol(i, Decl(SystemModuleForStatementNoInitializer.ts, 3, 3))
|
>i : Symbol(i, Decl(SystemModuleForStatementNoInitializer.ts, 2, 3))
|
||||||
|
|
||||||
let limit = 10;
|
let limit = 10;
|
||||||
>limit : Symbol(limit, Decl(SystemModuleForStatementNoInitializer.ts, 4, 3))
|
>limit : Symbol(limit, Decl(SystemModuleForStatementNoInitializer.ts, 3, 3))
|
||||||
|
|
||||||
for (; i < limit; ++i) {
|
for (; i < limit; ++i) {
|
||||||
>i : Symbol(i, Decl(SystemModuleForStatementNoInitializer.ts, 3, 3))
|
>i : Symbol(i, Decl(SystemModuleForStatementNoInitializer.ts, 2, 3))
|
||||||
>limit : Symbol(limit, Decl(SystemModuleForStatementNoInitializer.ts, 4, 3))
|
>limit : Symbol(limit, Decl(SystemModuleForStatementNoInitializer.ts, 3, 3))
|
||||||
>i : Symbol(i, Decl(SystemModuleForStatementNoInitializer.ts, 3, 3))
|
>i : Symbol(i, Decl(SystemModuleForStatementNoInitializer.ts, 2, 3))
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (; ; ++i) {
|
for (; ; ++i) {
|
||||||
>i : Symbol(i, Decl(SystemModuleForStatementNoInitializer.ts, 3, 3))
|
>i : Symbol(i, Decl(SystemModuleForStatementNoInitializer.ts, 2, 3))
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
=== tests/cases/compiler/SystemModuleForStatementNoInitializer.ts ===
|
=== tests/cases/compiler/SystemModuleForStatementNoInitializer.ts ===
|
||||||
|
|
||||||
export { };
|
export { };
|
||||||
|
|
||||||
let i = 0;
|
let i = 0;
|
||||||
|
|
Loading…
Reference in a new issue