* Minor fixes to convertToAsync * Back out on nested return in inner continuation * Baseline update * Verify type argument for call can be used, add a few more early exit shortcuts
12 lines
189 B
TypeScript
12 lines
189 B
TypeScript
// ==ORIGINAL==
|
|
|
|
function /*[#|*/f/*|]*/() {
|
|
return Promise.resolve().catch();
|
|
}
|
|
|
|
// ==ASYNC FUNCTION::Convert to async function==
|
|
|
|
async function f() {
|
|
return Promise.resolve();
|
|
}
|