Skip to content

Consume end tokens on begins with rescue or ensure #134

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

Merged

Conversation

vinistock
Copy link
Contributor

Not consuming the end tokens for begins that include ensure/rescue will cause parsing endless method definitions immediately after to fail.

Verified

This commit was signed with the committer’s verified signature.
vinistock Vinicius Stock
Co-authored-by: Kevin Newton <kddnewton@users.noreply.github.com>
@kddnewton kddnewton merged commit f665731 into ruby-syntax-tree:main Aug 15, 2022
@vinistock vinistock deleted the vs/consume_end_on_rescue_and_ensure branch August 15, 2022 19:06
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 this pull request may close these issues.

None yet

2 participants