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

Bugfix:: Make bound values available to filter clause for try-with in seq{} #17990

Merged

Conversation

T-Gro
Copy link
Member

@T-Gro T-Gro commented Nov 11, 2024

Fixes #17930 .

Before this PR, bound values were not available to the code in when filter clauses.
Even without a compiler error, this later lead to ilxgen issue of not having the values available as locals.

(the filter is compiled as a separate function returning 0/1)

@T-Gro T-Gro requested a review from a team as a code owner November 11, 2024 14:17
@T-Gro T-Gro linked an issue Nov 11, 2024 that may be closed by this pull request
Copy link
Contributor

github-actions bot commented Nov 11, 2024

❗ Release notes required


✅ Found changes and release notes in following paths:

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

@T-Gro T-Gro merged commit 8a4c053 into main Nov 11, 2024
33 checks passed
@T-Gro T-Gro deleted the 17930-try-with-within-seq-fails-to-capture-exception-variable branch November 11, 2024 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

"try with" within seq fails to capture exception variable
3 participants