New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: throw expect jsx plugin error when an idStart or > is seen #11774
Conversation
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/25008/ |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit c666018:
|
What |
Yeah, it'll fall through: https://github.com/babel/babel/pull/11774/files#diff-56fea09eea2de51b8291db400d2f69beR1193 |
Thank you! |
As a follow-up to #11722 , we throw expecting JSX errors when an IdentifierStart or
>
is seen after<
. This should cover type parameters, JSX element name and JSX fragment shorthand.This PR also moves
html-comment
test tobasic
, since it is not an error test.