-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for case when comments precede a statement containing an issue
e.g. // foo set foo.bar to 6 This would mark the error on the comment rather than the set statement. Because participle includes comments in a node's Tokens, we need to strip them out before calculating where the issues are.
- Loading branch information
Showing
1 changed file
with
38 additions
and
4 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