elm-light icon indicating copy to clipboard operation
elm-light copied to clipboard

Error parsing some files in elm-mdl

Open bohansen opened this issue 7 years ago • 1 comments

First of all thanks for an awesome plugin! Elm is a joy, but having support like inline documentation and autocomplete makes it even more awesome :).

I have noticed a problem when elm-light parses a few files from elm-mdl. The error looks like this:

#<ERROR parsing package source: /home/ubuntu/elm-app/elm-stuff/packages/debois/elm-mdl/8.1.0/src/Material/Button.elm
SyntaxError: Expected "!", "#", "$", "%", "&", "*", "+", "-", "--", ".", "/", ":", "<", "=", ">", "?", "@", "^", "{-", "|", "~", newline or whitespace but "g" found.
  >

I suspect some unexpected character encoding, but the elm compiler does not seem to complain.

/Bo

bohansen avatar Feb 07 '17 19:02 bohansen