Strange compile bug in 0.19

When I try to compile my code I get this error:

elm make src/Main.elm --output ../js/elm.js --debug
Success! Compiled 1 module.
elm: Map.!: given key is not an element in the map
CallStack (from HasCallStack):
error, called at ./Data/Map/Internal.hs:610:17 in containers- 
Makefile:3: recipe for target 'all' failed 
make: *** [all] Error 1

and when I look at the output file it appears to cut off midway in the middle of a function. Removing the --debug seems to fix it but it still seems like a bug

1 Like

Yes it’s a bug, there’s an issue open for it.
For some people it goes away when you compile without --debug, but it seems to depend on the situation.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.