-
Notifications
You must be signed in to change notification settings - Fork 793
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
open type T
when T
is an enum is treated as unused even when it's used
#17619
Labels
Milestone
Comments
I assume the fix involves yielding the enum cases as fsharp/src/Compiler/Service/ServiceAnalysis.fs Lines 23 to 54 in 6c96fc7
|
This was referenced Aug 28, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Repro steps
Expected behavior
The
open type
declaration for an enum should be considered used if any of its enum cases are used unqualified.Actual behavior
The
open type
declaration for an enum is considered unused even when one or more of its enum cases are used.Known workarounds
N/A.
Related information
.NET 8, 9.
The text was updated successfully, but these errors were encountered: