elm-lang / elm-repl

A REPL for Elm
BSD 3-Clause "New" or "Revised" License
170 stars 34 forks source link

record destructuring assignment fails with NAMING ERROR #124

Closed mxgrn closed 8 years ago

mxgrn commented 8 years ago
---- elm-repl 0.17.1 -----------------------------------------------------------
 :help for help, :exit to exit, more at <https://github.com/elm-lang/elm-repl>
--------------------------------------------------------------------------------
> {a, b} = {a = 1, b = 2}
-- NAMING ERROR ---------------------------------------------- repl-temp-000.elm

Cannot find variable `$`

4|   a$b
     ^^^
Maybe you want one of the following?

    !
    %
    *
    +

While this does work fine:

> {a} = {a = 1, b = 2}
1 : number

I'm on OSX El Capitan.

process-bot commented 8 years ago

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

mxgrn commented 8 years ago

Closing as a duplicate: https://github.com/elm-lang/elm-repl/issues/68