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

Error with multi-element records #11

Closed
ajhager opened this issue Oct 2, 2016 · 1 comment
Closed

Error with multi-element records #11

ajhager opened this issue Oct 2, 2016 · 1 comment
Labels

Comments

@ajhager
Copy link

ajhager commented Oct 2, 2016

It seems like {a = a, b = b} should parse to

Record [("a", (Variable ["a"])), ("b", (Variable ["b"]))]

but it causes the errors

failed to parse: {a = a, b = b} at position 0 with errors: ["expected \"let\"","expected \"case\"","expected \"if\"","expected \"\\\\\"","expected '\\''","expected \"\\\"\\\"\\\"\"","expected \"\\\"\"","expected a float","expected an integer","expected \"_\"","expected a lowercase character","expected an uppercase character","expected \"_\"","expected a
lowercase character","expected an uppercase character","expected \"[\"","expected \"[\"","expected \"}\"","expected \"(\""]
@Bogdanp Bogdanp added the bug label Oct 3, 2016
@wende
Copy link
Collaborator

wende commented Apr 18, 2017

Fixed in #19

@wende wende closed this as completed Apr 18, 2017
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

3 participants