jasongilman / proto-repl

A Clojure Development Environment package for the Atom editor
https://atom.io/packages/proto-repl
MIT License
563 stars 50 forks source link

Incorrect evaluation result of identity on namespaced maps #297

Open rlhk opened 6 years ago

rlhk commented 6 years ago

On the latest version [clojure "1.9.0"], (atom package 1.4.22) and [proto-repl "0.3.1"] Tried both pure clojure and clojurescript (knowing it's not supported though) projects

The evaluation result of the identity function on a namespaced map (identity {:a/apple :b/banana}) returns {:apple :b/banana} Same for (into {} {:a/apple :b/banana})

All other REPLs returns the expected result #:a{:apple :b/banana} Seems to be a serious issue ...

rlhk commented 6 years ago

If the ink is turned off, even the evaluation of the map {:a/apple :b/banana} itself lost the namespace, giving the same wrong {:apple :b/banana}

rlhk commented 6 years ago

Seems to be a display issue but quite scary

screen shot 2018-03-20 at 11 38 36 pm