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

Disallow return at the end of a with block #4467

Merged
merged 1 commit into from
Oct 29, 2023
Merged

Disallow return at the end of a with block #4467

merged 1 commit into from
Oct 29, 2023

Conversation

SeanTAllen
Copy link
Member

It generates incorrect LLVM IR in some scenarios and can also lead to compiler crashes.

Fixes #4464

It generates incorrect LLVM IR in some scenarios and can also lead
to compiler crashes.

Fixes #4464
@SeanTAllen SeanTAllen requested a review from a team October 19, 2023 13:21
@ponylang-main ponylang-main added the discuss during sync Should be discussed during an upcoming sync label Oct 19, 2023
@SeanTAllen SeanTAllen added do not merge This PR should not be merged at this time changelog - changed Automatically add "Changed" CHANGELOG entry on merge labels Oct 19, 2023
@SeanTAllen
Copy link
Member Author

This shouldn't be merged until #4454 is addressed and a ponyc version that fixes it is released.

@SeanTAllen SeanTAllen removed the do not merge This PR should not be merged at this time label Oct 29, 2023
@SeanTAllen SeanTAllen merged commit b9f3b6b into main Oct 29, 2023
26 checks passed
@SeanTAllen SeanTAllen deleted the 4464 branch October 29, 2023 02:26
@ponylang-main ponylang-main removed the discuss during sync Should be discussed during an upcoming sync label Oct 29, 2023
github-actions bot pushed a commit that referenced this pull request Oct 29, 2023
github-actions bot pushed a commit that referenced this pull request Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog - changed Automatically add "Changed" CHANGELOG entry on merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

return usage in disposing block's is flawed and we need to revist.
3 participants