babel
babel copied to clipboard
Improve @babel/parser error types
| Q | A |
|---|---|
| Fixed Issues? | Fixes #1, Fixes #2 |
| Patch: Bug Fix? | |
| Major: Breaking Change? | |
| Minor: New Feature? | |
| Tests Added + Pass? | Yes |
| Documentation PR Link | |
| Any Dependency Changes? | |
| License | MIT |
This PR is based on https://github.com/babel/babel/pull/17521, only the last commit is new.
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/60074
Rebase? :)
I realized an issue, errors that were misnamed in Babel 7 are now correctly named in types.
However, this is somewhat difficult to fix.
Fixed.