Skip to content

Commit

Permalink
Update test refs
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Dec 16, 2024
1 parent cab332c commit 618500b
Show file tree
Hide file tree
Showing 165 changed files with 0 additions and 416 deletions.
2 changes: 0 additions & 2 deletions crates/swc/tests/fixture/issues-8xxx/8774/output/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ async function foo() {
};
try {
const a = _ts_add_disposable_resource._(env, logClean(), false);
;
const b = _ts_add_disposable_resource._(env, logClean(), true);
;
for (const _ of [
logClean(),
logClean()
Expand Down
1 change: 0 additions & 1 deletion crates/swc/tests/fixture/issues-8xxx/8895/output/1.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ function main() {
};
try {
const file = _ts_add_disposable_resource._(env, new File(), false);
;
function readFile() {
file.read();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ try {
return _async_to_generator(function*() {})();
}
}, true);
;
function af() {
return _af.apply(this, arguments);
}
Expand All @@ -32,7 +31,6 @@ try {
return _async_to_generator(function*() {})();
}
}, true);
;
yield null;
} catch (e) {
env.error = e;
Expand Down Expand Up @@ -60,7 +58,6 @@ try {
return _async_to_generator(function*() {})();
}
}, true);
;
yield;
yield _await_async_generator(null);
} catch (e) {
Expand All @@ -86,7 +83,6 @@ try {
return _async_to_generator(function*() {})();
}
}, true);
;
} catch (e) {
env.error = e;
env.hasError = true;
Expand All @@ -113,7 +109,6 @@ try {
return _async_to_generator(function*() {})();
}
}, true);
;
yield null;
} catch (e) {
env.error = e;
Expand All @@ -137,7 +132,6 @@ try {
return _async_to_generator(function*() {})();
}
}, true);
;
yield;
yield _await_async_generator(null);
} catch (e) {
Expand All @@ -162,7 +156,6 @@ try {
return _async_to_generator(function*() {})();
}
}, true);
;
} catch (e) {
env.error = e;
env.hasError = true;
Expand All @@ -185,7 +178,6 @@ try {
return _async_to_generator(function*() {})();
}
}, true);
;
} catch (e) {
env.error = e;
env.hasError = true;
Expand All @@ -207,7 +199,6 @@ try {
return _async_to_generator(function*() {})();
}
}, true);
;
break;
} catch (e) {
env1.error = e;
Expand All @@ -228,7 +219,6 @@ try {
return _async_to_generator(function*() {})();
}
}, true);
;
break;
} catch (e) {
env2.error = e;
Expand All @@ -251,7 +241,6 @@ try {
return _async_to_generator(function*() {})();
}
}, true);
;
break;
} catch (e) {
env3.error = e;
Expand All @@ -273,7 +262,6 @@ try {
return _async_to_generator(function*() {})();
}
}, true);
;
} catch (e) {
env.error = e;
env.hasError = true;
Expand All @@ -293,7 +281,6 @@ try {
return _async_to_generator(function*() {})();
}
}, true);
;
} catch (e) {
env.error = e;
env.hasError = true;
Expand All @@ -313,7 +300,6 @@ try {
return _async_to_generator(function*() {})();
}
}, true);
;
} catch (e) {
env.error = e;
env.hasError = true;
Expand All @@ -334,7 +320,6 @@ try {
return _async_to_generator(function*() {})();
}
}, true);
;
} catch (e) {
env.error = e;
env.hasError = true;
Expand All @@ -354,7 +339,6 @@ try {
return _async_to_generator(function*() {})();
}
}, true);
;
} catch (e) {
env.error = e;
env.hasError = true;
Expand All @@ -375,7 +359,6 @@ try {
return _async_to_generator(function*() {})();
}
}, true);
;
break;
} catch (e) {
env.error = e;
Expand All @@ -397,7 +380,6 @@ try {
return _async_to_generator(function*() {})();
}
}, true);
;
break;
} catch (e) {
env.error = e;
Expand All @@ -419,7 +401,6 @@ try {
return _async_to_generator(function*() {})();
}
}, true);
;
break;
} catch (e) {
env.error = e;
Expand All @@ -441,7 +422,6 @@ try {
return _async_to_generator(function*() {})();
}
}, true);
;
} catch (e) {
env.error = e;
env.hasError = true;
Expand All @@ -462,7 +442,6 @@ try {
return _async_to_generator(function*() {})();
}
}, true);
;
} catch (e) {
env.error = e;
env.hasError = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ try {
const d1 = _ts_add_disposable_resource(env, {
async [Symbol.asyncDispose] () {}
}, true);
;
async function af() {
const env = {
stack: [],
Expand All @@ -21,7 +20,6 @@ try {
const d3 = _ts_add_disposable_resource(env, {
async [Symbol.asyncDispose] () {}
}, true);
;
await null;
} catch (e) {
env.error = e;
Expand All @@ -41,7 +39,6 @@ try {
const d5 = _ts_add_disposable_resource(env, {
async [Symbol.asyncDispose] () {}
}, true);
;
yield;
await null;
} catch (e) {
Expand All @@ -62,7 +59,6 @@ try {
const d6 = _ts_add_disposable_resource(env, {
async [Symbol.asyncDispose] () {}
}, true);
;
} catch (e) {
env.error = e;
env.hasError = true;
Expand All @@ -82,7 +78,6 @@ try {
const d13 = _ts_add_disposable_resource(env, {
async [Symbol.asyncDispose] () {}
}, true);
;
await null;
} catch (e) {
env.error = e;
Expand All @@ -102,7 +97,6 @@ try {
const d15 = _ts_add_disposable_resource(env, {
async [Symbol.asyncDispose] () {}
}, true);
;
yield;
await null;
} catch (e) {
Expand All @@ -124,7 +118,6 @@ try {
const d7 = _ts_add_disposable_resource(env, {
async [Symbol.asyncDispose] () {}
}, true);
;
} catch (e) {
env.error = e;
env.hasError = true;
Expand All @@ -145,7 +138,6 @@ try {
const d19 = _ts_add_disposable_resource(env, {
async [Symbol.asyncDispose] () {}
}, true);
;
} catch (e) {
env.error = e;
env.hasError = true;
Expand All @@ -165,7 +157,6 @@ try {
const d20 = _ts_add_disposable_resource(env1, {
async [Symbol.asyncDispose] () {}
}, true);
;
break;
} catch (e) {
env1.error = e;
Expand All @@ -184,7 +175,6 @@ try {
const d21 = _ts_add_disposable_resource(env2, {
async [Symbol.asyncDispose] () {}
}, true);
;
break;
} catch (e) {
env2.error = e;
Expand All @@ -205,7 +195,6 @@ try {
const d22 = _ts_add_disposable_resource(env3, {
async [Symbol.asyncDispose] () {}
}, true);
;
break;
} catch (e) {
env3.error = e;
Expand All @@ -225,7 +214,6 @@ try {
const d23 = _ts_add_disposable_resource(env, {
async [Symbol.asyncDispose] () {}
}, true);
;
} catch (e) {
env.error = e;
env.hasError = true;
Expand All @@ -243,7 +231,6 @@ try {
const d24 = _ts_add_disposable_resource(env, {
async [Symbol.asyncDispose] () {}
}, true);
;
} catch (e) {
env.error = e;
env.hasError = true;
Expand All @@ -261,7 +248,6 @@ try {
const d25 = _ts_add_disposable_resource(env, {
async [Symbol.asyncDispose] () {}
}, true);
;
} catch (e) {
env.error = e;
env.hasError = true;
Expand All @@ -280,7 +266,6 @@ try {
const d26 = _ts_add_disposable_resource(env, {
async [Symbol.asyncDispose] () {}
}, true);
;
} catch (e) {
env.error = e;
env.hasError = true;
Expand All @@ -298,7 +283,6 @@ try {
const d27 = _ts_add_disposable_resource(env, {
async [Symbol.asyncDispose] () {}
}, true);
;
} catch (e) {
env.error = e;
env.hasError = true;
Expand All @@ -317,7 +301,6 @@ try {
const d28 = _ts_add_disposable_resource(env, {
async [Symbol.asyncDispose] () {}
}, true);
;
break;
} catch (e) {
env.error = e;
Expand All @@ -337,7 +320,6 @@ try {
const d29 = _ts_add_disposable_resource(env, {
async [Symbol.asyncDispose] () {}
}, true);
;
break;
} catch (e) {
env.error = e;
Expand All @@ -357,7 +339,6 @@ try {
const d30 = _ts_add_disposable_resource(env, {
async [Symbol.asyncDispose] () {}
}, true);
;
break;
} catch (e) {
env.error = e;
Expand All @@ -377,7 +358,6 @@ try {
const d31 = _ts_add_disposable_resource(env, {
async [Symbol.asyncDispose] () {}
}, true);
;
} catch (e) {
env.error = e;
env.hasError = true;
Expand All @@ -396,7 +376,6 @@ try {
const d32 = _ts_add_disposable_resource(env, {
async [Symbol.asyncDispose] () {}
}, true);
;
} catch (e) {
env.error = e;
env.hasError = true;
Expand Down
Loading

0 comments on commit 618500b

Please sign in to comment.