babel icon indicating copy to clipboard operation
babel copied to clipboard

Improve @babel/parser error types

Open liuxingbaoyu opened this issue 3 months ago • 4 comments

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.

liuxingbaoyu avatar Sep 29 '25 00:09 liuxingbaoyu

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/60074

babel-bot avatar Sep 29 '25 00:09 babel-bot

Rebase? :)

nicolo-ribaudo avatar Oct 03 '25 14:10 nicolo-ribaudo

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.

liuxingbaoyu avatar Oct 03 '25 16:10 liuxingbaoyu