This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-02-20
Channels
- # announcements (1)
- # beginners (65)
- # calva (16)
- # cider (44)
- # clara (16)
- # clojure (84)
- # clojure-dev (48)
- # clojure-europe (5)
- # clojure-finland (4)
- # clojure-houston (1)
- # clojure-italy (19)
- # clojure-nl (27)
- # clojure-russia (6)
- # clojure-spec (37)
- # clojure-uk (123)
- # clojured (11)
- # clojurescript (21)
- # datomic (40)
- # duct (4)
- # emacs (6)
- # figwheel (4)
- # figwheel-main (5)
- # fulcro (34)
- # jackdaw (8)
- # juxt (117)
- # kaocha (3)
- # klipse (1)
- # leiningen (33)
- # luminus (2)
- # nyc (3)
- # off-topic (29)
- # om (1)
- # pedestal (7)
- # planck (4)
- # re-frame (27)
- # reagent (8)
- # reitit (5)
- # rum (2)
- # shadow-cljs (428)
- # spacemacs (5)
- # tools-deps (15)
- # yada (6)
any hints on what may cause this?
ClassCastException: clojure.lang.KeywordLookupSite$1 incompatible with clojure.lang.IFn
clojure.spec.alpha/spec-impl/reify--1987 (alpha.clj:875)
clojure.spec.alpha/conform (alpha.clj:150)
clojure.spec.alpha/conform (alpha.clj:146)
clojure.spec.alpha/macroexpand-check (alpha.clj:685)
clojure.spec.alpha/macroexpand-check (alpha.clj:681)
clojure.lang.Var.invoke (Var.java:385)
cljs.analyzer/do-macroexpand-check (analyzer.cljc:3312)
cljs.analyzer/do-macroexpand-check (analyzer.cljc:3306)
cljs.analyzer/macroexpand-1* (analyzer.cljc:3326)
cljs.analyzer/macroexpand-1* (analyzer.cljc:3314)
cljs.analyzer/macroexpand-1 (analyzer.cljc:3375)
cljs.analyzer/macroexpand-1 (analyzer.cljc:3371)
cljs.analyzer/analyze-seq (analyzer.cljc:3408)
cljs.analyzer/analyze-seq (analyzer.cljc:3388)
never seen this problem before and don't know where to start looking https://github.com/thheller/shadow-cljs/issues/443
@thheller Given that it is ClojureScript, you may also want to check in #cljs-dev channel
thx but I'm quite familiar with the CLJS side of things, this seems to be something on the CLJ side
new to me
but smells classloadery to me
like a fn compiled with IFn from a different classloader
https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/KeywordLookupSite.java#L42-L48
oh, gotcha
with @ghadi contributing to that discussion before too I think - not sure what I had before and think we never found the answer
@ghadi I mean it's not really an impossible situation, just impossible provided you're not handling KLS manually I think?
and we thought - perhaps the record type was being redef’ed so hitting the non-`identical?` branch of the callsite check