Open tfausak opened 5 years ago
This fails:
module Main exposing ( asUndefined ) import Debug asUndefined : a asUndefined = Debug.todo "asUndefined"
Messages: - Main.elm > Could not load file due to: Unexpected parse error
Changing the import to import Debug as Debug fixes the problem. So does changing asUndefined to undefined.
import Debug as Debug
asUndefined
undefined
This is all with elm-analyse 0.16.1.
elm-analyse
I'm guessing this is the same as https://github.com/stil4m/elm-syntax/issues/29.
Definitely looks that way! Based on that issue, upgrading to elm-syntax at least version 7.0.6 should fix this problem.
elm-syntax
This fails:
Changing the import to
import Debug as Debug
fixes the problem. So does changingasUndefined
toundefined
.This is all with
elm-analyse
0.16.1.