Skip to content
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 matching on _ failes #6

Closed
Zinggi opened this issue Sep 30, 2016 · 0 comments
Closed

pattern matching on _ failes #6

Zinggi opened this issue Sep 30, 2016 · 0 comments
Labels

Comments

@Zinggi
Copy link

Zinggi commented Sep 30, 2016

fu n =
  case n of
    _ -> 0

Fails to parse.

This works:

fu n =
  case n of
    x -> 0

These also fail:

a _ = 0
b = (\_ -> 0)
c =
  let
    _ = 0
  in
    0
@Bogdanp Bogdanp added the bug label Oct 1, 2016
@Bogdanp Bogdanp closed this as completed in e29a71d Oct 2, 2016
supermario pushed a commit to supermario/elm-ast that referenced this issue Jul 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants