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

Fix try/catch would not pop excess scopes #3216

Merged
merged 3 commits into from
Dec 16, 2024

Conversation

Denneisk
Copy link
Member

@Denneisk Denneisk commented Dec 12, 2024

Scopes could be pushed in try/catch that were never popped (causing a misalignment or something). This resolves that.

Fixes #3080

@Vurv78
Copy link
Contributor

Vurv78 commented Dec 12, 2024

Nice catch. Instead of a loop could just store the old scope and set it back to it. Lambdas do this. Make a regression test though.

@thegrb93 thegrb93 merged commit 1c14312 into wiremod:master Dec 16, 2024
1 check failed
@ZZ-Cat
Copy link

ZZ-Cat commented Dec 17, 2024

Thank you very much for fixing this. =^/.^=

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.

Error string in Exception Handler is nil when an exception is thrown from a conditional statement
4 participants