-
Notifications
You must be signed in to change notification settings - Fork 197
Source map improvements #1716
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Source map improvements #1716
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
cc24d3a
Document source maps
vouillon 54ee079
JavaScript if statement simplification: use appropriate locations
vouillon 38b132b
Do not emit unnecessary source mappings
vouillon 228f2e0
Adjust source mapping location for variable declarations
vouillon 2b09011
Put the function call location on the opening parenthesis as well
vouillon 043ebc8
Add location after return statement
vouillon c3f179e
Add location on new expression
vouillon c3d5dfd
Change way of filtering out dummy locations
vouillon 98bdcd4
Indicate the origin location of modules and exceptions as well
vouillon a48ae9a
Generate: put location on function calls
vouillon bbb3352
Add space to remove ambiguity
vouillon 7e3c91b
Source map: only specify the names of bindings
vouillon 7c58966
Debug info output improvements
vouillon 2155f99
Add an `Event` instruction
vouillon 4fd0880
Parse_bytecode: clean-up
vouillon 4459bec
Propage locations across blocks
vouillon 01a1c93
Make sure there is a location at the start of functions
vouillon 42d949e
Compile exception handlers starting from an unkown location
vouillon 6083873
Add appropriate events for partial application and over application
vouillon 4df3933
Mutually recursive functions: add locations in wrapper
vouillon 7067177
Refactor the generation of JavaScript expressions.
vouillon bf7fc83
Improved statement locations
vouillon 1fa0156
Source maps: use ignoreList to hide runtime files
vouillon 59c9878
Source map: repeat mappings over new lines
vouillon 46686ba
Changes
vouillon 720dff1
LWT toplevel example: do not generate a source map
vouillon a28fa70
Consider more precisely all debug event kinds
vouillon 0277651
Handle the case where there there are several events at the same loca…
vouillon f2abe1b
Make the code to recognize the implementation of the `(^)` operator m…
vouillon 7340d2b
Avoid additional block splitting during CPS transformation
vouillon 189b231
Change strategy to avoid ambiguity after a return statement
vouillon 1631718
Check additional code and source map invariants
vouillon d0ce5f0
No longer keep track of the location of identifiers
vouillon 69ca702
Make sure that the name of an identifier does not bleed on another one
vouillon 7cd112c
Compiler: more cleanup in parse_bytecode
hhugo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.