Fork me on GitHub

That looks like as a bug in printer

{(keyword "a b") :c :d :e}
  ;; => {:a b, :c :d, :e}

Tero Matinlassi10:06:07

Works for me.Probably not Calva related?

Tero Matinlassi10:06:57

Which REPL you are using?

Alex Miller (Clojure team)11:06:40

This is the expected behavior


the same in clj

Clojure 1.10.3
user=> (keyword "a b")
:a b
user=> {(keyword "a b") :c}
{:a b :c}
user=> {(keyword "a b") :c :d :e}
{:a b :c, :d :e}


fragment from deps.edn

    { :extra-deps
      { nrepl/nrepl                 {:mvn/version "0.8.3"}
        cider/cider-nrepl           {:mvn/version "0.26.0"}}
      ["-m" "nrepl.cmdline" "--middleware" "[cider.nrepl/cider-middleware]"]}
Calva 2.0.200 connected to that nrepl

Tero Matinlassi04:06:44

I should have same versions… if I type that into a file and evaluate it, it shows it correctly.


Yeah, works when I do it as well. In the REPL window, inline and also Evaluate to comment:

{(keyword "a b") :c :d :e}
;; => {:a b :c, :d :e}


If you can use Jack-in, @U0666UM3J, can you try with that and disabling the :repl alias in your deps.edn, just to see if that could have anything to do with it. (It shouldn’t but with strange things like this, I start to question everything. 😃


You can also try with the command Start a standalone REPL. Maybe that can narrow it down a bit.