-
Notifications
You must be signed in to change notification settings - Fork 26
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
Error in variable pattern matching #294
Comments
The problem is that the variables in the pattern of a match expression is mistaken for free variables, meaning that the closure thinks it should be part of the environment. Fix: Add the following as the second to last case of
@glundi: Feel free to double check my work (and submit a PR) :) |
Has this issue been fixed yet ? |
supercooldave
pushed a commit
that referenced
this issue
Apr 4, 2016
supercooldave
pushed a commit
that referenced
this issue
Apr 4, 2016
this issue has been fixed! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the following example, the second clause of pattern matching does not bind to variable
z
.It raises the error when I compile the above snippet.
The text was updated successfully, but these errors were encountered: