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
./elm make --debug src/Main.elm --output dist/elm.js
elm: ./Data/Vector/Generic/Mutable.hs:703 (modify): index out of bounds (3,3)
CallStack (from HasCallStack):
error, called at ./Data/Vector/Internal/Check.hs:87:5 in vector-0.12.0.1-4FlkEWKNqrgLl7wn5Cpq3g:Data.Vector.Internal.Check
elm: thread blocked indefinitely in an MVar operation
make: *** [all] Error 1
SSCCE
moduleMainexposing (..)
importBrowserimportHtmlexposing (..)
main:Program() { window : Int } msgmain =Browser.sandbox
{ init =1, view = view
, update =\_ model -> model
}foo:Floatfoo =0bar: { window : Int } ->Floatbar model =1view ({ iDontExist }as model)=let
_ =
foo iDontExist <| bar model
inHtml.text ""
Notes
Adding a type annotation to the view function makes the error go away
The text was updated successfully, but these errors were encountered:
Error
SSCCE
Notes
view
function makes the error go awayThe text was updated successfully, but these errors were encountered: