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

Use the parse.y as a parser to avoid runtime errors. #529

Closed
wants to merge 1 commit into from

Conversation

ledsun
Copy link
Contributor

@ledsun ledsun commented Sep 30, 2024

If you use the Prism as parser, you will get RangeError: Maximum call stack size exceeded.

I don't think changing the parser used in ruby.wasm from CRuby's default parser is the best way to go.
I think some kind of report to the Prism would be a good idea.
Before I do so, I have created a pull request to share what is happening.

 If you use the prism as parser, you will get `RangeError: Maximum call stack size exceeded`.
@ledsun
Copy link
Contributor Author

ledsun commented Sep 30, 2024

The test on CI did not pass this way.
It seems that the CRuby source I was referencing in my local environment was out of date.

@ledsun ledsun closed this Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant