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

is_hoistable causes "too much recursion" when exported functions reference each other #2542

Closed
jches opened this issue Apr 24, 2019 · 0 comments · Fixed by #2543
Closed

is_hoistable causes "too much recursion" when exported functions reference each other #2542

jches opened this issue Apr 24, 2019 · 0 comments · Fixed by #2543

Comments

@jches
Copy link
Contributor

jches commented Apr 24, 2019

The compiler gets into an infinite loop with this code: REPL

Seems to be something in is_hoistable; here is part of the compiler stack trace:

      at is_hoistable (compiler.js:15000:4)
      at Object.enter (compiler.js:15025:21)
      at visit (compiler.js:323:9)
      at visit (compiler.js:345:4)
      at visit (compiler.js:345:4)
      at visit (compiler.js:340:5)
      at visit (compiler.js:345:4)
      at walk (compiler.js:303:2)
      at is_hoistable (compiler.js:15000:4)
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

Successfully merging a pull request may close this issue.

1 participant