Skip to content

[release/dev18.9] Optimizer: fix accessing captured values when skipping inlining - #20331

Merged
T-Gro merged 2 commits into
release/dev18.9from
backport/pr-20089-to-release/dev18.9
Aug 24, 2026
Merged

[release/dev18.9] Optimizer: fix accessing captured values when skipping inlining#20331
T-Gro merged 2 commits into
release/dev18.9from
backport/pr-20089-to-release/dev18.9

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Backport of #20089 to release/dev18.9

/cc @T-Gro @auduchinok

Note: Release notes and eng/common files are excluded from this backport. If release notes are needed, they should be added manually to the appropriate version file for this branch.

Customer Impact

Testing

Risk

IMPORTANT: Is this backport for a servicing release? If so and this change touches code that ships in a NuGet package, please make certain that you have added any necessary package authoring and gotten it explicitly reviewed.

@github-actions
github-actions Bot requested a review from a team as a code owner August 24, 2026 08:25
@github-actions github-actions Bot added the AI-Tooling-Check-Bypassed Tooling check: non-fork PR, not diff-analyzed label Aug 24, 2026
The DebugInlineAsCall 'SRTP 31 - Capture used in nested closure' baseline differs from the committed one only in the emission order of the Test::<g>__debug@5 method block on release/dev18.9; all IL is byte-identical. Program still compiles and runs correctly (compileAndRun returns 0).

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

github-actions Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Release notes required, but author opted out

Warning

Author opted out of release notes, check is disabled for this pull request.
cc @dotnet/fsharp-team-msft

@T-Gro T-Gro added the NO_RELEASE_NOTES Label for pull requests which signals, that user opted-out of providing release notes label Aug 24, 2026
@T-Gro
T-Gro enabled auto-merge (squash) August 24, 2026 11:01
@github-project-automation github-project-automation Bot moved this from New to In Progress in F# Compiler and Tooling Aug 24, 2026
@T-Gro
T-Gro disabled auto-merge August 24, 2026 11:20
@T-Gro
T-Gro merged commit a4f28f6 into release/dev18.9 Aug 24, 2026
49 of 50 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in F# Compiler and Tooling Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI-Tooling-Check-Bypassed Tooling check: non-fork PR, not diff-analyzed NO_RELEASE_NOTES Label for pull requests which signals, that user opted-out of providing release notes

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants