stil4m/elm-analyse

Scandinavian characters causing 'Error parsing file'

Opened this issue · 0 comments

Hello!

Using scandinavian letters in type names (like æ. ø å) causes elm-analyser to crash on the given file. More precisely, it fails to parse the file, showing a red squiggly line on the first line, both in emacs, vim and vscode.

example:

type Example
    = Båt
    | Øl

(As a side-note, I see syntax highlighting here on github fails on this as well ;))

It works if I do this:

type Example
    = Baat
    | Oel

The version I am using of things are:

  • Node 10.21.0
  • Elm 0.19.1
  • Elm-analyser 0.16.5