Skip to content

Comments

Improved ensure clause handling#319

Merged
mame merged 4 commits intoruby:masterfrom
x-smasato:ensure-clause-in-def-node
May 1, 2025
Merged

Improved ensure clause handling#319
mame merged 4 commits intoruby:masterfrom
x-smasato:ensure-clause-in-def-node

Conversation

@smasato
Copy link
Contributor

@smasato smasato commented Apr 30, 2025

This PR corrects how variables are propagated through begin … rescue … else … ensure blocks.

@smasato smasato force-pushed the ensure-clause-in-def-node branch from 4f97757 to 9d4cb31 Compare April 30, 2025 21:08
@smasato smasato changed the title Support ensure clause in DefNode Improved ensure clause handling Apr 30, 2025
@mame mame merged commit 1fa5c00 into ruby:master May 1, 2025
7 checks passed
@mame
Copy link
Member

mame commented May 1, 2025

Thanks!

@smasato smasato deleted the ensure-clause-in-def-node branch May 1, 2025 23:38
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