Skip to content

Add note about exhaustive enum matching #46067

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 30, 2025
Merged

Add note about exhaustive enum matching #46067

merged 2 commits into from
May 30, 2025

Conversation

ieviev
Copy link
Contributor

@ieviev ieviev commented May 9, 2025

Assuming the passed enum is defined / validation is done beforehand this is important for ensuring all cases are covered.

related to dotnet/fsharp#4522

image


Internal previews

📄 File 🔗 Preview link
docs/fsharp/language-reference/enumerations.md Enumerations

@ieviev ieviev requested review from BillWagner, KathleenDollard and a team as code owners May 9, 2025 19:55
@dotnetrepoman dotnetrepoman bot added this to the May 2025 milestone May 9, 2025
@dotnet-policy-service dotnet-policy-service bot added dotnet-fsharp/svc community-contribution Indicates PR is created by someone from the .NET community. labels May 9, 2025
@ieviev
Copy link
Contributor Author

ieviev commented May 15, 2025

perhaps related as well now that it is merged: dotnet/fsharp#18049

@T-Gro T-Gro enabled auto-merge (squash) May 30, 2025 10:59
@T-Gro T-Gro merged commit 278b13f into dotnet:main May 30, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community-contribution Indicates PR is created by someone from the .NET community. dotnet-fsharp/svc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants