Skip to content

Remove always-on WhileBang language feature flag - #20330

Merged
T-Gro merged 2 commits into
mainfrom
fix/issue-20193
Aug 24, 2026
Merged

Remove always-on WhileBang language feature flag#20330
T-Gro merged 2 commits into
mainfrom
fix/issue-20193

Conversation

@T-Gro

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

Copy link
Copy Markdown
Member

Fixes #20193

while! has shipped since F# 8.0 and the minimum accepted --langversion is 8.0, so the WhileBang feature flag could never be disabled. Removing it collapses the guard to its always-on path; --disableLanguageFeature:WhileBang is no longer a recognized feature name.

Flatten LanguageFeature.WhileBang to the always-on path: delete the DU case (fs+fsi), its features-map entry and GetFeatureString arm, remove the featureWhileBang FSComp string, regenerate xlf, and collapse the pars.fsy enforcement branch. The while! construct itself is unchanged.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Aug 24, 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-Gro T-Gro added the NO_RELEASE_NOTES Label for pull requests which signals, that user opted-out of providing release notes label Aug 24, 2026
@github-actions github-actions Bot added the AI-Tooling-Check-Bypassed Tooling check: non-fork PR, not diff-analyzed label Aug 24, 2026
@T-Gro
T-Gro enabled auto-merge (squash) August 24, 2026 13:45
@T-Gro
T-Gro requested a review from abonie August 24, 2026 13:45
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

Archived in project

Development

Successfully merging this pull request may close these issues.

Remove always-on language feature flag: WhileBang

2 participants