This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-06-20
Channels
- # announcements (5)
- # asami (7)
- # babashka-sci-dev (36)
- # beginners (50)
- # calva (47)
- # cider (1)
- # clj-kondo (19)
- # clojure (33)
- # clojure-europe (25)
- # clojure-nl (2)
- # clojure-uk (4)
- # clojurescript (26)
- # conjure (2)
- # cursive (5)
- # datalog (6)
- # fulcro (5)
- # graalvm (12)
- # leiningen (1)
- # malli (30)
- # off-topic (5)
- # rdf (4)
- # ring (11)
- # shadow-cljs (55)
Hey all, I have kind of a weird one where when I paste my parentheses are reordered incorrectly when using parinfer.
The gif probably shows it better than I can explain, but basically with that macro that resolves as a let
, the square brackets reorder and are wrong. It doesn't happen with all parentheses but does happen consistently with the same text. I'll put it in a thread to not spam the main channel too much.
I recently upgraded to 2022.1.2
and 1.12.4-2022.1
and didn't see the issue up till now so it might be that's related. Please let me know if there's any more details I can provide as I appreciate it's a bit of a weird one.
the snippet I'm using is
(ns service.consultation.resource-test)
(deftest foo
(let []
(example/macro
[]
(kp/with-producer
[foo bar]
(println
"foo")))))
and as I mentioned the kp/with-producer
macro resolves as a let. If I make it resolve as none, the issue goes away, but the macro does follow the structure of a let.
Thanks Colin, please do let me know if there's any way I can help 🙂 loving having updated apart from this