compiler icon indicating copy to clipboard operation
compiler copied to clipboard

Unexpected elm: Map.!: given key is not an element in the map

Open jfine2358 opened this issue 4 years ago • 1 comments

Quick Summary: Unexpected elm: Map.!: given key is not an element in the map

SSCCE

$ elm repl
---- Elm 0.19.1 ----------------------------------------------------------------
Say :help for help and :exit to exit! More at <https://elm-lang.org/0.19.1/repl>
--------------------------------------------------------------------------------
> type alias Goal a = { a | field : Int } -> a
> 
> solution : Goal { field : Int }
| solution = identity
|   
<function> : Goal { field : Int }
> puzzle : Goal { field : Int }
| puzzle rec = rec
|   
elm: Map.!: given key is not an element in the map
CallStack (from HasCallStack):
  error, called at libraries/containers/Data/Map/Internal.hs:610:17 in containers-0.5.11.0:Data.Map.Internal

  • Elm: 0.19.1
  • Browser: None
  • Operating System: Ubuntu

Additional Details

I came across this while writing https://discourse.elm-lang.org/t/remove-1-record-field/7169/3

jfine2358 avatar Mar 28 '21 12:03 jfine2358

Thanks for reporting this! To set expectations:

  • Issues are reviewed in batches, so it can take some time to get a response.
  • Ask questions in a community forum. You will get an answer quicker that way!
  • If you experience something similar, open a new issue. We like duplicates.

Finally, please be patient with the core team. They are trying their best with limited resources.

github-actions[bot] avatar Mar 28 '21 13:03 github-actions[bot]