-
Notifications
You must be signed in to change notification settings - Fork 234
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
F* wrongly allows non-linear patterns #1121
Comments
FTR "yes", "no", 2. I agree it's unintuitive. Ocaml and F# complain:
|
Probably an easy fix in |
A PR for this: #1309 |
Merged
I merged it, fixed by 2554cc1 |
mtzguido
added a commit
that referenced
this issue
Mar 23, 2020
mtzguido
added a commit
that referenced
this issue
Mar 24, 2020
tahina-pro
added a commit
that referenced
this issue
Mar 25, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Recently discovered with @kyoDralliam that F* allows non-linear patterns:
This is hugely unintuitive for users. Is this match complete? Does it equate the two elements of the pair? If not is this returning 1 or 2?
The text was updated successfully, but these errors were encountered: