Fork me on GitHub
#cider
<
2018-04-04
>
arrdem00:04:59

yeah well that's easier to work with than this two in one nonsense

theeternalpulse00:04:39

the macro in question is

(defmacro def-specs
  {:style/indent 0}
  [& key-spec-pairs]
  (if (-> key-spec-pairs count even? not)
    `(throw (IllegalArgumentException. "`key-spec-pairs` must be in the form of key def pairs"))
    (let [pairs (reverse (partition 2 key-spec-pairs))
          defs (map (fn [[k form]] `(spec/def ~k ~form)) pairs)]
      `(do [email protected]))))

arrdem00:04:39

I don't think so.

theeternalpulse00:04:00

odd, other forms, like s/cat for example doesn't have this issue

bozhidar08:04:31

@theeternalpulse Seems you found a clojure-mode bug. Please, report it on GitHub.

theeternalpulse15:04:33

Have to find a way to reproduce it, seems to do it with that specific macro, try to make another one and it doesnt behave the same.