-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Description
Describe the bug
It seems source maps aren't mapping close parenthesis. Is that expected?
See here how on the function declaration after the parameters it's not mapped and also after the arguments in the call expression.
This just recently surfaced in our test suite, but didn't before because previously the semi-colon was mapped, but now it's not (this screenshot is from before. This is no longer mapped):
Input code
No response
Config
No response
Playground link
No response
Expected behavior
Should map close parenthesis?
Actual behavior
Doesn't map them.
Version
swc_ecma_transforms v0.198.26
Additional context
https://gist.github.com/dsherret/7418d2096a7fb2d79b9496237d80430a