You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into a compiler bug while working on my elm app. Below is the offending code as much as possible.
SSCCE
moduleMainexposing (..)
importHtmlexposing (text)
importList.Extraexposing (mapAccuml)
main =
text "Hello!"func =List.Extra.mapAccuml
(\a b ->let
return :(Int, x )
return =( a, b )in
return
)(0,0)
elm: You ran into a compiler bug. Here are some details for the developers:
x [rank = 2]
Please create an <http://sscce.org/> and then report it
at <https://github.com/elm/compiler/issues>
CallStack (from HasCallStack):
error, called at compiler/src/Type/Solve.hs:206:15 in main:Type.Solve
-- ERROR -----------------------------------------------------------------------
I ran into something that bypassed the normal error reporting process! I
extracted whatever information I could from the internal error:
> thread blocked indefinitely in an MVar operation
These errors are usually pretty confusing, so start by asking around on one of
forums listed at https://elm-lang.org/community to see if anyone can get you
unstuck quickly.
-- REQUEST ---------------------------------------------------------------------
If you are feeling up to it, please try to get your code down to the smallest
version that still triggers this message. Ideally in a single Main.elm and
elm.json file.
From there open a NEW issue at https://github.com/elm/compiler/issues with your
reduced example pasted in directly. (Not a link to a repo or gist!) Do not worry
about if someone else saw something similar. More examples is better!
This kind of error is usually tied up in larger architectural choices that are
hard to change, so even when we have a couple good examples, it can take some
time to resolve in a solid way.elm: thread blocked indefinitely in an MVar operation
The text was updated successfully, but these errors were encountered:
I ran into a compiler bug while working on my elm app. Below is the offending code as much as possible.
SSCCE
dependencies
Additional Details
The text was updated successfully, but these errors were encountered: