Skip to content

FCS: capture additional types during analysis#19305

Open
auduchinok wants to merge 3 commits intodotnet:mainfrom
auduchinok:captureTypes
Open

FCS: capture additional types during analysis#19305
auduchinok wants to merge 3 commits intodotnet:mainfrom
auduchinok:captureTypes

Conversation

@auduchinok
Copy link
Member

Continues #18878.

The change allows distinguishing types that were "seen" during analysis and the expression types needed for features like code completion. It's rare when a captured type should not influence code completion or doesn't correspond to an actual expression, so these types are marked as synthetic. An example of such captured type is the domain type in function expressions. Now it's possible to retrieve this type via TryGetCapturedType.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 16, 2026

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

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