Skip to content
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

Parse jsx correctly after let/var/const without semicolon #92

Open
danez opened this issue Nov 6, 2018 · 1 comment
Open

Parse jsx correctly after let/var/const without semicolon #92

danez opened this issue Nov 6, 2018 · 1 comment

Comments

@danez
Copy link

danez commented Nov 6, 2018

In acornjs/acorn@f0cbb35 this was fixed:

let a
/regex/

The same issue exists with jsx and the parser is not able to parse this currently:

let a
<jsx />
@danez danez changed the title Parse jsx correctly after let without semicolon Parse jsx correctly after let/var/const without semicolon Nov 6, 2018
@RReverser
Copy link
Member

Thanks for the reporting this issue. I'm currently somewhat busy, but PRs welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants