-
Notifications
You must be signed in to change notification settings - Fork 797
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
Pattern DUCase _
matches DUCase
#10204
Comments
This appears to have been the case for at least F# 4.5, so I don't think it's a bug |
Is this possibility mentioned in the Wildcard Pattern section of the Pattern Matching documentation? I don't get the impression that it is mentioned there. |
Thanks for the clarification @abelbraaksma - I will close as a duplicate of #10204 |
I think you meant duplicate of #1592 ;). |
Indeed! The 'ole copy paste 'a 'roo |
Thanks everyone for all the comments and the pointer to the previous issue. I created dotnet/docs#20858 to suggest that the documentation be changed to mention this feature. |
May be fixed by: #14055 |
Yep, fixed indeed! In #14055. |
The following code compiles, but it expected that it would not compile.
I thought the last line would have to omit the discard pattern, which would look like
| DUCase -> ()
.This behavior is the opposite of bug #9520.
I am using
The text was updated successfully, but these errors were encountered: