Closed jDomantas closed 6 years ago
Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!
Here is what to expect next, and if anyone wants to comment, keep these things in mind.
Example could be minimized even further, you can get that error on http://elm-lang.org/try with as much as
foo : () -> ()
foo () = Debug.crash "not implemented"
Appears to be the same issue as https://github.com/elm-lang/elm-compiler/issues/1278
Workaround: If you just need a thunk to crash, change ()
to _
in the definition.
foo : () -> ()
foo _ = Debug.crash "not implemented"
Thanks for linking to the other version of this @brianhempel!
It compiles with no problem on my development build, and a temporary fix has been found until that is released.
I tried to run this program in http://elm-lang.org/try:
And I got this error:
Trying to compile the same program locally also fails with same error. Elm make version:
elm-make 0.18 (Elm Platform 0.18.0)
.