Skip to content

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.

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.

2 participants