Fork me on GitHub
#clojure-spec
<
2018-06-02
>
cvic19:06:15

If I add

[tentacles.core :as c]
lein repl throws
Exception in thread "main" clojure.lang.ExceptionInfo: Call to clojure.core/defn- did not conform to spec:
In: [0] val: clj-tuple/conj-tuple fails spec: :clojure.core.specs.alpha/defn-args at: [:args :name] predicate: simple-symbol?
 #:clojure.spec.alpha{:problems [{:path [:args :name], :pred clojure.core/simple-symbol?, :val clj-tuple/conj-tuple, :via [:clojure.core.specs.alpha/defn-args :clojure.core.specs.alpha/defn-args], :in [0]}], :spec #object[clojure.spec.alpha$regex_spec_impl$reify__2436 0x162e29a1 "[email protected]"], :value (clj-tuple/conj-tuple [t__7054__unified__ x__7055__unified__] (clojure.core/let [t__7054__unified__ t__7054__unified__] (clojure.core/case (.count t__7054__unified__) 0 (new Tuple1 x__7055__unified__ (clojure.core/meta t__7054__unified__)) 1 (new Tuple2 (. t__7054__unified__ e0) x__7055__unified__ (clojure.core/meta t__7054__unified__)) 2 (new Tuple3 (. t__7054__unified__ e0) (. t__7054__unified__ e1) x__7055__unified__ (clojure.core/meta t__7054__unified__)) 3 (new Tuple4 (. t__7054__unified__ e0) (. t__7054__unified__ e1) (. t__7054__unified__ e2) x__7055__unified__ (clojure.core/meta t__7054__unified__)) 4 (new Tuple5 (. t__7054__unified__ e0) (. t__7054__unified__ e1) (. t__7054__unified__ e2) (. t__7054__unified__ e3) x__7055__unified__ (clojure.core/meta t__7054__unified__)) 5 (new Tuple6 (. t__7054__unified__ e0) (. t__7054__unified__ e1) (. t__7054__unified__ e2) (. t__7054__unified__ e3) (. t__7054__unified__ e4) x__7055__unified__ (clojure.core/meta t__7054__unified__)) 6 (clojure.core/let [t__7054__unified__ t__7054__unified__] (clj_tuple.VectorSeq. 0 7 (clojure.core/-> [] clojure.core/transient (clojure.core/conj! (.nth t__7054__unified__ 0)) (clojure.core/conj! (.nth t__7054__unified__ 1)) (clojure.core/conj! (.nth t__7054__unified__ 2)) (clojure.core/conj! (.nth t__7054__unified__ 3)) (clojure.core/conj! (.nth t__7054__unified__ 4)) (clojure.core/conj! (.nth t__7054__unified__ 5)) (clojure.core/conj! x__7055__unified__) clojure.core/persistent!) (clojure.core/meta t__7054__unified__)))))), :args (clj-tuple/conj-tuple [t__7054__unified__ x__7055__unified__] (clojure.core/let [t__7054__unified__ t__7054__unified__] (clojure.core/case (.count t__7054__unified__) 0 (new Tuple1 x__7055__unified__ (clojure.core/meta t__7054__unified__)) 1 (new Tuple2 (. t__7054__unified__ e0) x__7055__unified__ (clojure.core/meta t__7054__unified__)) 2 (new Tuple3 (. t__7054__unified__ e0) (. t__7054__unified__ e1) x__7055__unified__ (clojure.core/meta t__7054__unified__)) 3 (new Tuple4 (. t__7054__unified__ e0) (. t__7054__unified__ e1) (. t__7054__unified__ e2) x__7055__unified__ (clojure.core/meta t__7054__unified__)) 4 (new Tuple5 (. t__7054__unified__ e0) (. t__7054__unified__ e1) (. t__7054__unified__ e2) (. t__7054__unified__ e3) x__7055__unified__ (clojure.core/meta t__7054__unified__)) 5 (new Tuple6 (. t__7054__unified__ e0) (. t__7054__unified__ e1) (. t__7054__unified__ e2) (. t__7054__unified__ e3) (. t__7054__unified__ e4) x__7055__unified__ (clojure.core/meta t__7054__unified__)) 6 (clojure.core/let [t__7054__unified__ t__7054__unified__] (clj_tuple.VectorSeq. 0 7 (clojure.core/-> [] clojure.core/transient (clojure.core/conj! (.nth t__7054__unified__ 0)) (clojure.core/conj! (.nth t__7054__unified__ 1)) (clojure.core/conj! (.nth t__7054__unified__ 2)) (clojure.core/conj! (.nth t__7054__unified__ 3)) (clojure.core/conj! (.nth t__7054__unified__ 4)) (clojure.core/conj! (.nth t__7054__unified__ 5)) (clojure.core/conj! x__7055__unified__) clojure.core/persistent!) (clojure.core/meta t__7054__unified__))))))}, compiling:(clj_tuple.clj:556:1)
	at clojure.lang.Compiler.checkSpecs(Compiler.java:6891)
	at clojure.lang.Compiler.macroexpand1(Compiler.java:6907)
No idea why...

cvic19:06:03

Or... some dependency that has a malformed defn- form.

cvic19:06:12

Time to do some digging

cvic19:06:46

Ah, nvm. I'll just use [irresponsible/tentacles "0.6.2"]

alexmiller22:06:22

The line in error is clj_tuple.clj line 556

alexmiller22:06:43

Wherever that is