Problem: Today I was working on some code in Online Editor which was working perfectly but it suddenly stopped working with following errors indicated below:
Details: Specifically the following functions from elm version 0.17 Json.Decode] stopped working
Json.Decode.object2
(:=)
Error indicates not exposed. It appears the Online was updated to elm 0.18 but there was no clear indication it was updated, since the Core Packages on Elm website were stil a elm 0.17.
Ehancement:
It would be great if the Online-Editor somewhere, menu or comment indicated the elm version it supports as well as a Online Editor version number. It would make more user friendly to know at clearly why code broke without having to dig in source code to see that there was a elm version change.
Problem: Today I was working on some code in Online Editor which was working perfectly but it suddenly stopped working with following errors indicated below:
Details: Specifically the following functions from elm version 0.17 Json.Decode] stopped working
Error indicates not exposed. It appears the Online was updated to elm 0.18 but there was no clear indication it was updated, since the Core Packages on Elm website were stil a elm 0.17.
Ehancement: It would be great if the Online-Editor somewhere, menu or comment indicated the elm version it supports as well as a Online Editor version number. It would make more user friendly to know at clearly why code broke without having to dig in source code to see that there was a elm version change.
Errors
Detected errors in 1 module.
-- NAMING ERROR ----------------------------------------------------------------
Module
Json.Decode
does not expose:=
3| import Json.Decode as Json exposing ((:=), object2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-- NAMING ERROR ----------------------------------------------------------------
Module
Json.Decode
does not exposeobject2
3| import Json.Decode as Json exposing ((:=), object2)