We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Async arrows were not covered in #4115.
$ cat async-then.js // async function (async function () { return { get then() { return () => effect(11); } }; })(); // async arrow with block (async () => { return { get then() { return () => effect(12); } }; })(); // async arrow without block (async () => ({ get then() { return () => effect(13); } }))(); const effects = [], effect = x => effects.push(x); Promise.resolve({ then(resolve) { resolve({ then(resolve) { console.log(effects.join(" ")); } }); } });
$ cat async-then.js | node 11 12 13
$ cat async-then.js | rollup --silent | node 11
$ cat async-then.js | rollup --silent // async function (async function () { return { get then() { return () => effect(11); } }; })(); const effects = [], effect = x => effects.push(x); Promise.resolve({ then(resolve) { resolve({ then(resolve) { console.log(effects.join(" ")); } }); } });
The text was updated successfully, but these errors were encountered:
Fix at #4120
Sorry, something went wrong.
Merge branch 'master' into gh-4116-async-arrow-thenables
09bb382
Successfully merging a pull request may close this issue.
Async arrows were not covered in #4115.
Repro
Expected Behavior
Actual Behavior
The text was updated successfully, but these errors were encountered: