Skip to content

Remove always-on language feature flag DelegateTypeNameResolutionFix - #20366

Open
T-Gro wants to merge 1 commit into
mainfrom
fix/issue-20156
Open

Remove always-on language feature flag DelegateTypeNameResolutionFix#20366
T-Gro wants to merge 1 commit into
mainfrom
fix/issue-20156

Conversation

@T-Gro

@T-Gro T-Gro commented Aug 26, 2026

Copy link
Copy Markdown
Member

Fixes #20156

DelegateTypeNameResolutionFix has been enabled since F# 6.0, below the minimum selectable --langversion of 8.0, so its gate is always satisfied. Removed the flag and collapsed the guarded delegate-type name resolution to its enabled behavior.

The DelegateTypeNameResolutionFix language feature shipped in F# 6.0 and is enabled for every selectable language version. The minimum accepted --langversion is 8.0, so the flag can never be turned off. Delete the flag and collapse its single guarded code path in NameResolution to the always-on behaviour.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@T-Gro
T-Gro requested a review from a team as a code owner August 26, 2026 15:16
@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 26, 2026
@github-actions github-actions Bot added the AI-Tooling-Check-Bypassed Tooling check: non-fork PR, not diff-analyzed label Aug 26, 2026
@T-Gro
T-Gro enabled auto-merge (squash) August 27, 2026 09:13
@T-Gro
T-Gro requested a review from abonie August 27, 2026 09:13
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

Status: New

Development

Successfully merging this pull request may close these issues.

Remove always-on language feature flag: DelegateTypeNameResolutionFix

1 participant