This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-10-19
Channels
- # admin-announcements (2)
- # beginners (24)
- # boot (36)
- # business (1)
- # cbus (3)
- # cider (22)
- # cljs-dev (91)
- # clojure (101)
- # clojure-canada (9)
- # clojure-china (3)
- # clojure-czech (21)
- # clojure-nl (3)
- # clojure-russia (131)
- # clojure-sg (5)
- # clojure-uk (9)
- # clojure-ukraine (4)
- # clojure-za (2)
- # clojurebridge (18)
- # clojurescript (333)
- # clojurex (6)
- # devcards (1)
- # events (37)
- # hoplon (15)
- # ldnclj (23)
- # luminus (3)
- # off-topic (41)
- # om (258)
- # onyx (20)
- # re-frame (46)
- # reagent (7)
- # spacemacs (2)
Hi, cider reloads my namespaces upon cider-connect and that redefines some protocols and existing deftypes no longer works. Any workaround for this?
refactor-nrepl does eagerly build ASTs for the namespaces in the project. we also use an AST building endpoint in tools.analyzer
which does eval your code too (otherwise we don’t get a meaningful AST)
so not 100% if your problem is related but you can try to remove refactor-nrepl
. if the problem disappears pls do create a github issue for us with some description
2.0.0-SNAPSHOT. When I remove refactor-nrepl it works OK. With refactor-nrepl, upon cider-connect all namespaces are reloaded, as I can see reflection warnings being print again in console.
I too had deftype-related compilation problems when refactor-nrepl is present. Removing it solved the problem.
@wagjo @blueberry can you create a github issue pls with some context in it