This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-11-13
Channels
- # aleph (7)
- # announcements (3)
- # babashka (29)
- # beginners (70)
- # calva (5)
- # cider (14)
- # clara (3)
- # clj-kondo (25)
- # cljs-dev (2)
- # clojure (237)
- # clojure-conj (3)
- # clojure-europe (6)
- # clojure-italy (14)
- # clojure-nl (4)
- # clojure-uk (40)
- # clojurescript (29)
- # clojurex (1)
- # code-reviews (2)
- # cursive (3)
- # datascript (1)
- # fulcro (11)
- # graalvm (4)
- # graphql (12)
- # jackdaw (1)
- # jobs (1)
- # joker (22)
- # london-clojurians (1)
- # off-topic (132)
- # re-frame (38)
- # rewrite-clj (11)
- # shadow-cljs (200)
- # spacemacs (1)
- # sql (67)
- # tools-deps (15)
@borkdude i've been looking through clj-kondo for code related to "Mismatched bracket..." -- at least initially it looks to me like at least some of the functionality you mentioned (also?) lives in your clj-kondo-included rewrite-clj fork. does that sound right?
yes, i found your tools.reader fork in the inlined directory and see it is a little different from the official 1.2.2 -- the rewrite-clj fork seems to have more of what you were referring to. i am just asking for confirmation that it makes sense to examine the rewrite-clj portion as well -- i've been reading it too.
I don't remember if rewrite-clj also has changes to this. You should be able to see the relevant commit(s) from @marc-omorain
There were two changes that I made: - rewrite-clj was not reporting row + col information in many cases where there was an error in source at the tokenizer stage. - I changed the rewrite-clj error message to refer to both the position of both the opening and closing parens.
@marc-omorain ty for the summary!
This test exposes a lot of the problem, I believe that running those examples through rewrite-clj will expose the issues. Those were my most reduced repro-cases.