babel / babel

🐠 Babel is a compiler for writing next generation JavaScript.
https://babel.dev
MIT License
43.03k stars 5.6k forks source link

[babel 8] Cleanup parser plugins #16456

Open nicolo-ribaudo opened 2 months ago

nicolo-ribaudo commented 2 months ago
JLHwung commented 2 months ago

If record and tuple will use #, then we should remove the support of hack pipeline with topic token # right? These two are conflicted with each other.

nicolo-ribaudo commented 2 months ago

The current status is that:

JLHwung commented 2 months ago

Well in that case we still have to support both features. Thus the error message here https://github.com/babel/babel/blob/71c247a1831fe70e8b847fdb57b5fc10538d9748/packages/babel-parser/src/plugin-utils.ts#L164 should be refined since syntaxType won't be an option in Babel 8.