Skip to content

Conversation

@auduchinok
Copy link
Member

This is a more conservative version of #19034. The previous PR unexpectedly changes behavior in some cases where exceptions during analysis were a part of the control flow, so should be done more cautiously by going through each affected place separately. This PR adds a silent recovery for the single place where the previous PR was started.

In the following example f was not added to the environment, breaking analysis of its usages:

let f (x: unit) =
    x + 1

f ()
Screenshot 2025-10-28 at 14 50 44

@github-actions
Copy link
Contributor

github-actions bot commented Nov 3, 2025

❗ 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/11.0.0.md

@auduchinok auduchinok force-pushed the tc-recover-contraints2 branch from 39b46c8 to e74b246 Compare November 3, 2025 17:13
@auduchinok
Copy link
Member Author

This is ready

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: New

Development

Successfully merging this pull request may close these issues.

1 participant