Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Have raise() take a Position instead of an integer index so that we c…
…an correctly and efficiently track line and column offsets. Additionally: 1. Make Errors.ElementAfterRest a recoverable error. 2. Make expectContextual throw a nicer error telling you what it expected to find. Reviewed by @tolmasky.
- Loading branch information
Showing
23 changed files
with
1,150 additions
and
1,050 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
144 changes: 72 additions & 72 deletions
144
eslint/babel-eslint-plugin-development-internal/test/rules/dry-error-messages.js
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.