-
Notifications
You must be signed in to change notification settings - Fork 345
Description
Describe the bug
A clear and concise description of what the bug is.
On and after 7a11f7c, names from larger source maps are not parsed most of the time1
To Reproduce
Steps to reproduce the behavior:
Using the reproduction at https://github.com/sadan4/map-names-repro
- Use version b389427
- Set a breakpoint in index.ts
- Run the code
- Notice that names are mapped
- Use any version after that (I tested on 7a11f7c, and latest main 1942fd6)
- Set a breakpoint in index.ts
- Run the code
- Notice that names aren't mapped
Log File
VS Code Version: Version: 1.99.0
Additional context
Add any other context about the problem here.
This only seems to be an issue with larger bundles. If I remove the require("typescript") from the reproduction (only added to increase the bundle size) the variables are renamed properly
Footnotes
-
On the code I encountered this issue in, a few variables would have their names mapped randomly, but I rarely encountered this and could not notice any patterns. ↩

