proto-repl icon indicating copy to clipboard operation
proto-repl copied to clipboard

Incorrect evaluation result of identity on namespaced maps

Open rlhk opened this issue 6 years ago • 2 comments

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 avatar Mar 20 '18 14:03 rlhk

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 avatar Mar 20 '18 15:03 rlhk

Seems to be a display issue but quite scary screen shot 2018-03-20 at 11 38 36 pm

rlhk avatar Mar 20 '18 15:03 rlhk