-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Track line and column numbers for expressions
Commit 73cc00e reduced the number of emitted source locations a great deal but it resulted in at least one observable regression: export default async function f() { return "abc" + x } f() // ReferenceError should point to 2:20 but pointed to 1:1 Emit source locations for expressions again. Increases the average number of source locations by about 15%. Non-scientifically tested by counting source locations emitted when parsing the test suite before and after. No test because we currently cannot easily test stack traces coming from module imports. Fixes: #779
- Loading branch information
1 parent
99c02eb
commit 218630f
Showing
2 changed files
with
9 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters