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
Hi, I submitted a bug a few days ago, thank you for looking into that bug. 馃檱 I am running the same project through SWC today too, I just came across this now, got a runtime error because a totally different variable was used than expected.
Input code
Not sure if it has any effect in this case, but this is in a TypeScript project, by the way.
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.
Describe the bug
Hi, I submitted a bug a few days ago, thank you for looking into that bug. 馃檱 I am running the same project through SWC today too, I just came across this now, got a runtime error because a totally different variable was used than expected.
Input code
Not sure if it has any effect in this case, but this is in a TypeScript project, by the way.
Here was the SWC output:
Config
Expected behavior
A clear and concise description of what you expected to happen.
I expected the
item.key.toString()
line to get its item value from the parameter of the reduce() callback, not the other root levelitem
.Hope this is clear? If any questions/clarifications, happy to add more info, thanks.
Version
The version of @swc/core:
1.2.35
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: