Skip to content

Preserve outer rethrows in nested runtime async try/with - #20586

Merged
T-Gro merged 3 commits into
mainfrom
fix/issue-20575
Sep 21, 2026
Merged

T-Gro merged 3 commits into
mainfrom
fix/issue-20575

Conversation

@T-Gro

@T-Gro T-Gro commented Sep 18, 2026

Copy link
Copy Markdown
Member

Fixes #20575

Keep reraise() in nested try/with bodies bound to the outer exception while preserving inner handler ownership, preventing invalid IL after suspension.

Copilot and others added 2 commits September 18, 2026 21:32
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Cover forbidden suspension in catch, finally, filter and filtered-handler regions, plus missing probe bodies, suspension and runtime-async metadata. Keep all negative specimens inspection-only and preserve the existing positive gate before regression execution.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

✅ Release notes checked


✅ Found changes and release notes in following paths:

Change path Release notes path Description
`src/Compiler` docs/release-notes/.FSharp.Compiler.Service/11.0.100.md

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot added the AI-Tooling-Check-Bypassed Tooling check: non-fork PR, not diff-analyzed label Sep 19, 2026
@T-Gro
T-Gro requested a review from abonie September 20, 2026 13:10

@T-Gro T-Gro left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 🕵️ LGTM

@T-Gro T-Gro added the AI-reviewed PR reviewed by AI review council label Sep 21, 2026
@github-project-automation github-project-automation Bot moved this from New to In Progress in F# Compiler and Tooling Sep 21, 2026
@T-Gro
T-Gro merged commit 77d4e3d into main Sep 21, 2026
55 checks passed
@T-Gro
T-Gro deleted the fix/issue-20575 branch September 21, 2026 11:06
@github-project-automation github-project-automation Bot moved this from In Progress to Done in F# Compiler and Tooling Sep 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI-reviewed PR reviewed by AI review council AI-Tooling-Check-Bypassed Tooling check: non-fork PR, not diff-analyzed

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Preserve outer rethrows in nested runtime async try/with

2 participants