Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Make break statements trigger finally blocks #370

Merged
merged 2 commits into from
Jul 24, 2017

Conversation

trotterdylan
Copy link
Contributor

No description provided.

Similar to google#368, fixes an issue where break statements were bypassing
finally clauses. This change changes for and while loops to use the
checkpoint stack instead of plain goto statements so that break can
properly trigger finally handlers.
@trotterdylan trotterdylan merged commit 9b8d487 into google:master Jul 24, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant