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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[parser] Illegal arrow expression containing `in` as `for` lhs #11202

Open
JLHwung opened this issue Mar 4, 2020 · 3 comments
Open

[parser] Illegal arrow expression containing `in` as `for` lhs #11202

JLHwung opened this issue Mar 4, 2020 · 3 comments

Comments

@JLHwung
Copy link
Contributor

@JLHwung JLHwung commented Mar 4, 2020

Bug Report

Copied from acornjs/acorn#922

REPL: Safe link

(change xin to be x in and you will see REPL is stuck 馃槺)

@babel-bot

This comment has been minimized.

Copy link
Collaborator

@babel-bot babel-bot commented Mar 4, 2020

Hey @JLHwung! We really appreciate you taking the time to report an issue. The collaborators on this project attempt to help as many people as possible, but we're a limited number of volunteers, so it's possible this won't be addressed swiftly.

If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack community that typically always has someone willing to help. You can sign-up here for an invite."

@nicolo-ribaudo

This comment has been minimized.

Copy link
Member

@nicolo-ribaudo nicolo-ribaudo commented Mar 4, 2020

Oh wow, this is the first time I see @babel/parser stuck in an infinite loop.

@vedantroy

This comment has been minimized.

Copy link
Contributor

@vedantroy vedantroy commented Mar 21, 2020

I don't get an infinite loop. Running ./babel test.js where "test.js" = for (x => x in y;;); outputs for (x => (x in y);;);, but no infinite loop.

terrapin-dev bot pushed a commit to terrapintest/babel that referenced this issue Mar 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can鈥檛 perform that action at this time.