Skip to content

Remove always-on AndBang language feature flag - #20223

Merged
T-Gro merged 3 commits into
mainfrom
fix/issue-20144
Aug 11, 2026
Merged

Remove always-on AndBang language feature flag#20223
T-Gro merged 3 commits into
mainfrom
fix/issue-20144

Conversation

@T-Gro

@T-GroT-Gro commented Aug 6, 2026

Copy link
Copy Markdown
Member

Fixes#20144

LanguageFeature.AndBang has been enabled for every selectable --langversion since F# 5.0, so its flag could never be turned off. Removed the dead flag and collapsed the guarded computation-expression code to its enabled behaviour; --disableLanguageFeature:AndBang is no longer a recognised feature name.

Copilotand others added 2 commits August 6, 2026 13:51
…ssions
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actionsBot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

⚠️ 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-GroT-Gro added the NO_RELEASE_NOTES Label for pull requests which signals, that user opted-out of providing release notes label Aug 6, 2026
The CheckCodeFormatting CI job failed because the collapsed AndBang gate
left a two-line let binding that Fantomas collapses to a single line.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actionsgithub-actionsBot added the AI-Tooling-Check-Bypassed Tooling check: non-fork PR, not diff-analyzed label Aug 6, 2026
@T-Gro
T-Gro requested a review from abonieAugust 10, 2026 11:24
@T-Gro
T-Gro enabled auto-merge (squash) August 10, 2026 11:24
@T-Gro
T-Gro merged commit 4990959 into mainAug 11, 2026
48 of 50 checks passed
@github-project-automationgithub-project-automationBot moved this from New to In Progress in F# Compiler and ToolingAug 11, 2026
@github-project-automationgithub-project-automationBot moved this from In Progress to Done in F# Compiler and ToolingAug 11, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI-Tooling-Check-BypassedTooling check: non-fork PR, not diff-analyzedNO_RELEASE_NOTESLabel 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.

Remove always-on language feature flag: AndBang

2 participants

@T-Gro@abonie