You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling an async function with the result of two async functions that both return an array leads to the second array being unrolled and each member of it being passed as a seperate parameter to the function.
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Calling an async function with the result of two async functions that both return an array leads to the second array being unrolled and each member of it being passed as a seperate parameter to the function.
With
a
andb
beingthe following code is being transpiled incorrectly:
into
whereas the line
b.apply(void 0, _tmp.concat(_state.sent()))
should be insteadb.apply(void 0, _tmp.push(_state.sent()))
The issue is reproduced here: https://github.com/finnboeger/swc-loader-async-bug
The text was updated successfully, but these errors were encountered: