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

Parse error in Graphics.Element (elm-lang/core 3.0.0) #531

Closed
daveyarwood opened this Issue Mar 20, 2016 · 4 comments

Comments

Projects
None yet
2 participants
@daveyarwood

daveyarwood commented Mar 20, 2016

When trying to run elm-test in a project using elm-lang/core 3.0.0, I got this parse error:

Error in package elm-lang/core 3.0.0 in module Graphics.Element:

Parse error at (line 143, column 43):
unexpected ","
expecting field access (e.g. List.map), whitespace, a newline, "-", basic term (4, x, 'c', etc.), infix operator or closing bracket '}'


This error is probably due to bad version bounds. You should definitely
inform the maintainer of elm-lang/core to get this fixed.

The problematic line appears to be on this line in Graphics.Element, the comma right after newWidth.

I'm new to Elm -- what's the issue with that comma?

@jvoigtlaender

This comment has been minimized.

Show comment
Hide comment
@jvoigtlaender

jvoigtlaender Mar 20, 2016

Contributor

Which version of Elm are you using? I suspect, something too old.

Contributor

jvoigtlaender commented Mar 20, 2016

Which version of Elm are you using? I suspect, something too old.

@daveyarwood

This comment has been minimized.

Show comment
Hide comment
@daveyarwood

daveyarwood Mar 20, 2016

$ elm
Elm Platform 0.16.0 - a way to run all Elm tools
...

daveyarwood commented Mar 20, 2016

$ elm
Elm Platform 0.16.0 - a way to run all Elm tools
...
@jvoigtlaender

This comment has been minimized.

Show comment
Hide comment
@jvoigtlaender

jvoigtlaender Mar 20, 2016

Contributor

But your call of elm-test, which Elm version is that calling?

Contributor

jvoigtlaender commented Mar 20, 2016

But your call of elm-test, which Elm version is that calling?

@daveyarwood

This comment has been minimized.

Show comment
Hide comment
@daveyarwood

daveyarwood Mar 20, 2016

A-ha! I think it was calling an older version of Elm that I installed a long time ago via cabal -- ~/.cabal/bin is ahead of /usr/local/bin in my $PATH so it must have been using the older version. I just ran rm ~/.cabal/bin/elm* and re-ran elm-test and now it's working 👍

Thanks!

daveyarwood commented Mar 20, 2016

A-ha! I think it was calling an older version of Elm that I installed a long time ago via cabal -- ~/.cabal/bin is ahead of /usr/local/bin in my $PATH so it must have been using the older version. I just ran rm ~/.cabal/bin/elm* and re-ran elm-test and now it's working 👍

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment