-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A warning and an inline option boundary event can share location when a function declaration is unreachable code (a push event is generated for each closure start). Previously event comparator assumed that only two warnings or two inline option events can share location, resulting in an error when this assumption is violated. The fix is to compare events of different types by set priority before falling back to code comparison for warning. Also remove a hack that partially worked around this issue by adding `code` field to some inline option events. Ref #74.
- Loading branch information
Showing
3 changed files
with
38 additions
and
10 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
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