Skip to content

Add note about exhaustive enum matching #46067

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

ieviev
Copy link

@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
Co-authored-by: Tomas Grosup <tomasgrosup@microsoft.com>
@ieviev
Copy link
Author

ieviev commented May 15, 2025

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

# for free to join this conversation on GitHub. Already have an account? # 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