Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

find-symbol fails when the project contains cljc files #108

Closed
magnars opened this issue Aug 10, 2015 · 12 comments
Closed

find-symbol fails when the project contains cljc files #108

magnars opened this issue Aug 10, 2015 · 12 comments

Comments

@magnars
Copy link
Contributor

magnars commented Aug 10, 2015

This happens whenever I try to use rich refactorings like find-usages, inline-symbol and its ilk:

error in process filter: if: Error in nrepl-refactor: clojure.lang.LispReader$ReaderException: java.lang.RuntimeException: Conditional read not allowed
 at clojure.lang.LispReader.read (LispReader.java:292)
    clojure.lang.LispReader.read (LispReader.java:196)
    clojure.lang.LispReader.read (LispReader.java:190)
    clojure.core$read.invoke (core.clj:3640)
    clojure.core$read.invoke (core.clj:3638)
    refactor_nrepl.find.find_macros$find_macro_definitions_in_file.invoke (find_macros.clj:44)
    clojure.core$map$fn__4553.invoke (core.clj:2624)
    clojure.lang.LazySeq.sval (LazySeq.java:40)
    clojure.lang.LazySeq.seq (LazySeq.java:49)
    clojure.lang.Cons.next (Cons.java:39)
    clojure.lang.RT.next (RT.java:674)
    clojure.core/next (core.clj:64)
    clojure.core$concat$cat__4217$fn__4218.invoke (core.clj:707)
    clojure.lang.LazySeq.sval (LazySeq.java:40)
    clojure.lang.LazySeq.seq (LazySeq.java:56)
    clojure.lang.RT.seq (RT.java:507)
    clojure.core/seq (core.clj:137)
    clojure.core$filter$fn__4580.invoke (core.clj:2679)
    clojure.lang.LazySeq.sval (LazySeq.java:40)
    clojure.lang.LazySeq.seq (LazySeq.java:56)
    clojure.lang.LazySeq.first (LazySeq.java:71)
    clojure.lang.RT.first (RT.java:653)
    clojure.core/first (core.clj:55)
    refactor_nrepl.find.find_macros$find_macro.invoke (find_macros.clj:182)
    refactor_nrepl.find.find_symbol$find_symbol.invoke (find_symbol.clj:231)
    refactor_nrepl.middleware$find_symbol_reply.invoke (middleware.clj:52)
    refactor_nrepl.middleware$wrap_refactor$fn__31978.invoke (middleware.clj:120)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.trace$wrap_trace$fn__23176.invoke (trace.clj:65)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.classpath$wrap_classpath$fn__17591.invoke (classpath.clj:24)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.resource$wrap_resource$fn__22818.invoke (resource.clj:49)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.middleware.interruptible_eval$interruptible_eval$fn__8652.invoke (interruptible_eval.clj:216)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.middleware.session$add_stdin$fn__8731.invoke (session.clj:238)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    link_gatekeeper.system$eval34437$fn__34438$fn__34440.invoke (form-init6022887040463714276.clj:1)
    clojure.tools.nrepl.middleware.load_file$wrap_load_file$fn__8772.invoke (load_file.clj:79)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.inspect$wrap_inspect$fn__19096.invoke (inspect.clj:108)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.debug$wrap_debug$fn__19258.invoke (debug.clj:352)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.refresh$wrap_refresh$fn__22788.invoke (refresh.clj:170)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.pprint$wrap_pprint$fn__22652.invoke (pprint.clj:51)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.middleware.pr_values$pr_values$fn__8584.invoke (pr_values.clj:22)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.test$wrap_test$fn__22909.invoke (test.clj:201)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.middleware.session$session$fn__8716.invoke (session.clj:192)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.server$handle_STAR_.invoke (server.clj:19)
    clojure.tools.nrepl.server$handle$fn__8785.invoke (server.clj:28)
    clojure.core$binding_conveyor_fn$fn__4444.invoke (core.clj:1916)
    clojure.lang.AFn.call (AFn.java:18)
    java.util.concurrent.FutureTask.run (FutureTask.java:262)
    java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1145)
    java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:615)
    java.lang.Thread.run (Thread.java:744)
Caused by: java.lang.RuntimeException: Conditional read not allowed
 at clojure.lang.Util.runtimeException (Util.java:221)
    clojure.lang.LispReader$ConditionalReader.checkConditionalAllowed (LispReader.java:1423)
    clojure.lang.LispReader$ConditionalReader.invoke (LispReader.java:1427)
    clojure.lang.LispReader$DispatchReader.invoke (LispReader.java:691)
    clojure.lang.LispReader.read (LispReader.java:263)
    clojure.lang.LispReader.readDelimitedList (LispReader.java:1200)
    clojure.lang.LispReader$VectorReader.invoke (LispReader.java:1150)
    clojure.lang.LispReader.read (LispReader.java:263)
    clojure.lang.LispReader.readDelimitedList (LispReader.java:1200)
    clojure.lang.LispReader$ListReader.invoke (LispReader.java:1049)
    clojure.lang.LispReader.read (LispReader.java:263)
    clojure.lang.LispReader.readDelimitedList (LispReader.java:1200)
    clojure.lang.LispReader$ListReader.invoke (LispReader.java:1049)
    clojure.lang.LispReader.read (LispReader.java:263)
    clojure.lang.LispReader.read (LispReader.java:196)
    clojure.lang.LispReader.read (LispReader.java:190)
    clojure.core$read.invoke (core.clj:3640)
    clojure.core$read.invoke (core.clj:3638)
    refactor_nrepl.find.find_macros$find_macro_definitions_in_file.invoke (find_macros.clj:44)
    clojure.core$map$fn__4553.invoke (core.clj:2624)
    clojure.lang.LazySeq.sval (LazySeq.java:40)
    clojure.lang.LazySeq.seq (LazySeq.java:49)
    clojure.lang.Cons.next (Cons.java:39)
    clojure.lang.RT.next (RT.java:674)
    clojure.core/next (core.clj:64)
    clojure.core$concat$cat__4217$fn__4218.invoke (core.clj:707)
    clojure.lang.LazySeq.sval (LazySeq.java:40)
    clojure.lang.LazySeq.seq (LazySeq.java:56)
    clojure.lang.RT.seq (RT.java:507)
    clojure.core/seq (core.clj:137)
    clojure.core$filter$fn__4580.invoke (core.clj:2679)
    clojure.lang.LazySeq.sval (LazySeq.java:40)
    clojure.lang.LazySeq.seq (LazySeq.java:56)
    clojure.lang.LazySeq.first (LazySeq.java:71)
    clojure.lang.RT.first (RT.java:653)
    clojure.core/first (core.clj:55)
    refactor_nrepl.find.find_macros$find_macro.invoke (find_macros.clj:182)
    refactor_nrepl.find.find_symbol$find_symbol.invoke (find_symbol.clj:231)
    refactor_nrepl.middleware$find_symbol_reply.invoke (middleware.clj:52)
    refactor_nrepl.middleware$wrap_refactor$fn__31978.invoke (middleware.clj:120)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.trace$wrap_trace$fn__23176.invoke (trace.clj:65)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.classpath$wrap_classpath$fn__17591.invoke (classpath.clj:24)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.resource$wrap_resource$fn__22818.invoke (resource.clj:49)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.middleware.interruptible_eval$interruptible_eval$fn__8652.invoke (interruptible_eval.clj:216)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.middleware.session$add_stdin$fn__8731.invoke (session.clj:238)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    link_gatekeeper.system$eval34437$fn__34438$fn__34440.invoke (form-init6022887040463714276.clj:1)
    clojure.tools.nrepl.middleware.load_file$wrap_load_file$fn__8772.invoke (load_file.clj:79)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.inspect$wrap_inspect$fn__19096.invoke (inspect.clj:108)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.debug$wrap_debug$fn__19258.invoke (debug.clj:352)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.refresh$wrap_refresh$fn__22788.invoke (refresh.clj:170)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.pprint$wrap_pprint$fn__22652.invoke (pprint.clj:51)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.middleware.pr_values$pr_values$fn__8584.invoke (pr_values.clj:22)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.test$wrap_test$fn__22909.invoke (test.clj:201)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.middleware.session$session$fn__8716.invoke (session.clj:192)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.server$handle_STAR_.invoke (server.clj:19)
    clojure.tools.nrepl.server$handle$fn__8785.invoke (server.clj:28)
    clojure.core$binding_conveyor_fn$fn__4444.invoke (core.clj:1916)
    clojure.lang.AFn.call (AFn.java:18)
    java.util.concurrent.FutureTask.run (FutureTask.java:262)
    java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1145)
    java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:615)
    java.lang.Thread.run (Thread.java:744)

error in process filter: Error in nrepl-refactor: clojure.lang.LispReader$ReaderException: java.lang.RuntimeException: Conditional read not allowed
 at clojure.lang.LispReader.read (LispReader.java:292)
    clojure.lang.LispReader.read (LispReader.java:196)
    clojure.lang.LispReader.read (LispReader.java:190)
    clojure.core$read.invoke (core.clj:3640)
    clojure.core$read.invoke (core.clj:3638)
    refactor_nrepl.find.find_macros$find_macro_definitions_in_file.invoke (find_macros.clj:44)
    clojure.core$map$fn__4553.invoke (core.clj:2624)
    clojure.lang.LazySeq.sval (LazySeq.java:40)
    clojure.lang.LazySeq.seq (LazySeq.java:49)
    clojure.lang.Cons.next (Cons.java:39)
    clojure.lang.RT.next (RT.java:674)
    clojure.core/next (core.clj:64)
    clojure.core$concat$cat__4217$fn__4218.invoke (core.clj:707)
    clojure.lang.LazySeq.sval (LazySeq.java:40)
    clojure.lang.LazySeq.seq (LazySeq.java:56)
    clojure.lang.RT.seq (RT.java:507)
    clojure.core/seq (core.clj:137)
    clojure.core$filter$fn__4580.invoke (core.clj:2679)
    clojure.lang.LazySeq.sval (LazySeq.java:40)
    clojure.lang.LazySeq.seq (LazySeq.java:56)
    clojure.lang.LazySeq.first (LazySeq.java:71)
    clojure.lang.RT.first (RT.java:653)
    clojure.core/first (core.clj:55)
    refactor_nrepl.find.find_macros$find_macro.invoke (find_macros.clj:182)
    refactor_nrepl.find.find_symbol$find_symbol.invoke (find_symbol.clj:231)
    refactor_nrepl.middleware$find_symbol_reply.invoke (middleware.clj:52)
    refactor_nrepl.middleware$wrap_refactor$fn__31978.invoke (middleware.clj:120)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.trace$wrap_trace$fn__23176.invoke (trace.clj:65)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.classpath$wrap_classpath$fn__17591.invoke (classpath.clj:24)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.resource$wrap_resource$fn__22818.invoke (resource.clj:49)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.middleware.interruptible_eval$interruptible_eval$fn__8652.invoke (interruptible_eval.clj:216)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.middleware.session$add_stdin$fn__8731.invoke (session.clj:238)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    link_gatekeeper.system$eval34437$fn__34438$fn__34440.invoke (form-init6022887040463714276.clj:1)
    clojure.tools.nrepl.middleware.load_file$wrap_load_file$fn__8772.invoke (load_file.clj:79)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.inspect$wrap_inspect$fn__19096.invoke (inspect.clj:108)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.debug$wrap_debug$fn__19258.invoke (debug.clj:352)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.refresh$wrap_refresh$fn__22788.invoke (refresh.clj:170)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.pprint$wrap_pprint$fn__22652.invoke (pprint.clj:51)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.middleware.pr_values$pr_values$fn__8584.invoke (pr_values.clj:22)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.test$wrap_test$fn__22909.invoke (test.clj:201)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.middleware.session$session$fn__8716.invoke (session.clj:192)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.server$handle_STAR_.invoke (server.clj:19)
    clojure.tools.nrepl.server$handle$fn__8785.invoke (server.clj:28)
    clojure.core$binding_conveyor_fn$fn__4444.invoke (core.clj:1916)
    clojure.lang.AFn.call (AFn.java:18)
    java.util.concurrent.FutureTask.run (FutureTask.java:262)
    java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1145)
    java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:615)
    java.lang.Thread.run (Thread.java:744)
Caused by: java.lang.RuntimeException: Conditional read not allowed
 at clojure.lang.Util.runtimeException (Util.java:221)
    clojure.lang.LispReader$ConditionalReader.checkConditionalAllowed (LispReader.java:1423)
    clojure.lang.LispReader$ConditionalReader.invoke (LispReader.java:1427)
    clojure.lang.LispReader$DispatchReader.invoke (LispReader.java:691)
    clojure.lang.LispReader.read (LispReader.java:263)
    clojure.lang.LispReader.readDelimitedList (LispReader.java:1200)
    clojure.lang.LispReader$VectorReader.invoke (LispReader.java:1150)
    clojure.lang.LispReader.read (LispReader.java:263)
    clojure.lang.LispReader.readDelimitedList (LispReader.java:1200)
    clojure.lang.LispReader$ListReader.invoke (LispReader.java:1049)
    clojure.lang.LispReader.read (LispReader.java:263)
    clojure.lang.LispReader.readDelimitedList (LispReader.java:1200)
    clojure.lang.LispReader$ListReader.invoke (LispReader.java:1049)
    clojure.lang.LispReader.read (LispReader.java:263)
    clojure.lang.LispReader.read (LispReader.java:196)
    clojure.lang.LispReader.read (LispReader.java:190)
    clojure.core$read.invoke (core.clj:3640)
    clojure.core$read.invoke (core.clj:3638)
    refactor_nrepl.find.find_macros$find_macro_definitions_in_file.invoke (find_macros.clj:44)
    clojure.core$map$fn__4553.invoke (core.clj:2624)
    clojure.lang.LazySeq.sval (LazySeq.java:40)
    clojure.lang.LazySeq.seq (LazySeq.java:49)
    clojure.lang.Cons.next (Cons.java:39)
    clojure.lang.RT.next (RT.java:674)
    clojure.core/next (core.clj:64)
    clojure.core$concat$cat__4217$fn__4218.invoke (core.clj:707)
    clojure.lang.LazySeq.sval (LazySeq.java:40)
    clojure.lang.LazySeq.seq (LazySeq.java:56)
    clojure.lang.RT.seq (RT.java:507)
    clojure.core/seq (core.clj:137)
    clojure.core$filter$fn__4580.invoke (core.clj:2679)
    clojure.lang.LazySeq.sval (LazySeq.java:40)
    clojure.lang.LazySeq.seq (LazySeq.java:56)
    clojure.lang.LazySeq.first (LazySeq.java:71)
    clojure.lang.RT.first (RT.java:653)
    clojure.core/first (core.clj:55)
    refactor_nrepl.find.find_macros$find_macro.invoke (find_macros.clj:182)
    refactor_nrepl.find.find_symbol$find_symbol.invoke (find_symbol.clj:231)
    refactor_nrepl.middleware$find_symbol_reply.invoke (middleware.clj:52)
    refactor_nrepl.middleware$wrap_refactor$fn__31978.invoke (middleware.clj:120)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.trace$wrap_trace$fn__23176.invoke (trace.clj:65)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.classpath$wrap_classpath$fn__17591.invoke (classpath.clj:24)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.resource$wrap_resource$fn__22818.invoke (resource.clj:49)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.middleware.interruptible_eval$interruptible_eval$fn__8652.invoke (interruptible_eval.clj:216)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.middleware.session$add_stdin$fn__8731.invoke (session.clj:238)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    link_gatekeeper.system$eval34437$fn__34438$fn__34440.invoke (form-init6022887040463714276.clj:1)
    clojure.tools.nrepl.middleware.load_file$wrap_load_file$fn__8772.invoke (load_file.clj:79)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.inspect$wrap_inspect$fn__19096.invoke (inspect.clj:108)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.debug$wrap_debug$fn__19258.invoke (debug.clj:352)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.refresh$wrap_refresh$fn__22788.invoke (refresh.clj:170)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.pprint$wrap_pprint$fn__22652.invoke (pprint.clj:51)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.middleware.pr_values$pr_values$fn__8584.invoke (pr_values.clj:22)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.test$wrap_test$fn__22909.invoke (test.clj:201)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.middleware.session$session$fn__8716.invoke (session.clj:192)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.server$handle_STAR_.invoke (server.clj:19)
    clojure.tools.nrepl.server$handle$fn__8785.invoke (server.clj:28)
    clojure.core$binding_conveyor_fn$fn__4444.invoke (core.clj:1916)
    clojure.lang.AFn.call (AFn.java:18)
    java.util.concurrent.FutureTask.run (FutureTask.java:262)
    java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1145)
    java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:615)
    java.lang.Thread.run (Thread.java:744)

line-move-visual: End of buffer
Quit [3 times]
Reloading: (link-gatekeeper.web.frontend link-gatekeeper.web.server link-gatekeeper.notification-events link-gatekeeper.rules link-gatekeeper.storage.migrations link-gatekeeper.homeless link-gatekeeper.storage.datomic link-gatekeeper.images link-gatekeeper.time link-gatekeeper.notifications link-gatekeeper.migrations link-gatekeeper.storage.datomic-history link-gatekeeper.groups link-gatekeeper.gw-transient link-gatekeeper.jars link-gatekeeper.gateways link-gatekeeper.gateway-filters link-gatekeeper.web.gateways-controller link-gatekeeper.web.notify-controller link-gatekeeper.web.images-controller link-gatekeeper.web.jars-controller link-gatekeeper.web.groups-controller link-gatekeeper.web.web-socket link-gatekeeper.prose link-gatekeeper.changes link-gatekeeper.slack-integration link-gatekeeper.progress link-gatekeeper.web.progress-controller link-gatekeeper.web.health-check link-gatekeeper.web.middleware link-gatekeeper.web.migrations-controller link-gatekeeper.web.core link-gatekeeper.storage.initial-migrations link-gatekeeper.storage.setup-database test-session link-gatekeeper.groups-test link-gatekeeper.prose-test link-gatekeeper.web.web-socket-test stubadub link-gatekeeper.slack-integration-test link-gatekeeper.debounce link-gatekeeper.event-refinery link-gatekeeper.mother link-gatekeeper.system link-gatekeeper.progress-test link-gatekeeper.web.core-test link-gatekeeper.changes-test link-gatekeeper.images-test link-gatekeeper.jars-test link-gatekeeper.mother-test link-gatekeeper.migrations-test link-gatekeeper.gateways-test link-gatekeeper.tracking-test link-gatekeeper.event-refinery-test user link-gatekeeper.notifications-test)
Reloading successful
(No changes need to be saved)
error in process filter: if: Error in nrepl-refactor: clojure.lang.LispReader$ReaderException: java.lang.RuntimeException: Conditional read not allowed
 at clojure.lang.LispReader.read (LispReader.java:292)
    clojure.lang.LispReader.read (LispReader.java:196)
    clojure.lang.LispReader.read (LispReader.java:190)
    clojure.core$read.invoke (core.clj:3640)
    clojure.core$read.invoke (core.clj:3638)
    refactor_nrepl.find.find_macros$find_macro_definitions_in_file.invoke (find_macros.clj:44)
    clojure.core$map$fn__4553.invoke (core.clj:2624)
    clojure.lang.LazySeq.sval (LazySeq.java:40)
    clojure.lang.LazySeq.seq (LazySeq.java:49)
    clojure.lang.Cons.next (Cons.java:39)
    clojure.lang.RT.next (RT.java:674)
    clojure.core/next (core.clj:64)
    clojure.core$concat$cat__4217$fn__4218.invoke (core.clj:707)
    clojure.lang.LazySeq.sval (LazySeq.java:40)
    clojure.lang.LazySeq.seq (LazySeq.java:56)
    clojure.lang.RT.seq (RT.java:507)
    clojure.core/seq (core.clj:137)
    clojure.core$filter$fn__4580.invoke (core.clj:2679)
    clojure.lang.LazySeq.sval (LazySeq.java:40)
    clojure.lang.LazySeq.seq (LazySeq.java:56)
    clojure.lang.LazySeq.first (LazySeq.java:71)
    clojure.lang.RT.first (RT.java:653)
    clojure.core/first (core.clj:55)
    refactor_nrepl.find.find_macros$find_macro.invoke (find_macros.clj:182)
    refactor_nrepl.find.find_symbol$find_symbol.invoke (find_symbol.clj:231)
    refactor_nrepl.middleware$find_symbol_reply.invoke (middleware.clj:52)
    refactor_nrepl.middleware$wrap_refactor$fn__31978.invoke (middleware.clj:120)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.trace$wrap_trace$fn__23176.invoke (trace.clj:65)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.classpath$wrap_classpath$fn__17591.invoke (classpath.clj:24)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.resource$wrap_resource$fn__22818.invoke (resource.clj:49)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.middleware.interruptible_eval$interruptible_eval$fn__8652.invoke (interruptible_eval.clj:216)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.middleware.session$add_stdin$fn__8731.invoke (session.clj:238)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    link_gatekeeper.system$eval34437$fn__34438$fn__34440.invoke (form-init6022887040463714276.clj:1)
    clojure.tools.nrepl.middleware.load_file$wrap_load_file$fn__8772.invoke (load_file.clj:79)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.inspect$wrap_inspect$fn__19096.invoke (inspect.clj:108)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.debug$wrap_debug$fn__19258.invoke (debug.clj:352)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.refresh$wrap_refresh$fn__22788.invoke (refresh.clj:170)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.pprint$wrap_pprint$fn__22652.invoke (pprint.clj:51)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.middleware.pr_values$pr_values$fn__8584.invoke (pr_values.clj:22)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.test$wrap_test$fn__22909.invoke (test.clj:201)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.middleware.session$session$fn__8716.invoke (session.clj:192)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.server$handle_STAR_.invoke (server.clj:19)
    clojure.tools.nrepl.server$handle$fn__8785.invoke (server.clj:28)
    clojure.core$binding_conveyor_fn$fn__4444.invoke (core.clj:1916)
    clojure.lang.AFn.call (AFn.java:18)
    java.util.concurrent.FutureTask.run (FutureTask.java:262)
    java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1145)
    java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:615)
    java.lang.Thread.run (Thread.java:744)
Caused by: java.lang.RuntimeException: Conditional read not allowed
 at clojure.lang.Util.runtimeException (Util.java:221)
    clojure.lang.LispReader$ConditionalReader.checkConditionalAllowed (LispReader.java:1423)
    clojure.lang.LispReader$ConditionalReader.invoke (LispReader.java:1427)
    clojure.lang.LispReader$DispatchReader.invoke (LispReader.java:691)
    clojure.lang.LispReader.read (LispReader.java:263)
    clojure.lang.LispReader.readDelimitedList (LispReader.java:1200)
    clojure.lang.LispReader$VectorReader.invoke (LispReader.java:1150)
    clojure.lang.LispReader.read (LispReader.java:263)
    clojure.lang.LispReader.readDelimitedList (LispReader.java:1200)
    clojure.lang.LispReader$ListReader.invoke (LispReader.java:1049)
    clojure.lang.LispReader.read (LispReader.java:263)
    clojure.lang.LispReader.readDelimitedList (LispReader.java:1200)
    clojure.lang.LispReader$ListReader.invoke (LispReader.java:1049)
    clojure.lang.LispReader.read (LispReader.java:263)
    clojure.lang.LispReader.read (LispReader.java:196)
    clojure.lang.LispReader.read (LispReader.java:190)
    clojure.core$read.invoke (core.clj:3640)
    clojure.core$read.invoke (core.clj:3638)
    refactor_nrepl.find.find_macros$find_macro_definitions_in_file.invoke (find_macros.clj:44)
    clojure.core$map$fn__4553.invoke (core.clj:2624)
    clojure.lang.LazySeq.sval (LazySeq.java:40)
    clojure.lang.LazySeq.seq (LazySeq.java:49)
    clojure.lang.Cons.next (Cons.java:39)
    clojure.lang.RT.next (RT.java:674)
    clojure.core/next (core.clj:64)
    clojure.core$concat$cat__4217$fn__4218.invoke (core.clj:707)
    clojure.lang.LazySeq.sval (LazySeq.java:40)
    clojure.lang.LazySeq.seq (LazySeq.java:56)
    clojure.lang.RT.seq (RT.java:507)
    clojure.core/seq (core.clj:137)
    clojure.core$filter$fn__4580.invoke (core.clj:2679)
    clojure.lang.LazySeq.sval (LazySeq.java:40)
    clojure.lang.LazySeq.seq (LazySeq.java:56)
    clojure.lang.LazySeq.first (LazySeq.java:71)
    clojure.lang.RT.first (RT.java:653)
    clojure.core/first (core.clj:55)
    refactor_nrepl.find.find_macros$find_macro.invoke (find_macros.clj:182)
    refactor_nrepl.find.find_symbol$find_symbol.invoke (find_symbol.clj:231)
    refactor_nrepl.middleware$find_symbol_reply.invoke (middleware.clj:52)
    refactor_nrepl.middleware$wrap_refactor$fn__31978.invoke (middleware.clj:120)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.trace$wrap_trace$fn__23176.invoke (trace.clj:65)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.classpath$wrap_classpath$fn__17591.invoke (classpath.clj:24)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.resource$wrap_resource$fn__22818.invoke (resource.clj:49)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.middleware.interruptible_eval$interruptible_eval$fn__8652.invoke (interruptible_eval.clj:216)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.middleware.session$add_stdin$fn__8731.invoke (session.clj:238)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    link_gatekeeper.system$eval34437$fn__34438$fn__34440.invoke (form-init6022887040463714276.clj:1)
    clojure.tools.nrepl.middleware.load_file$wrap_load_file$fn__8772.invoke (load_file.clj:79)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.inspect$wrap_inspect$fn__19096.invoke (inspect.clj:108)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.debug$wrap_debug$fn__19258.invoke (debug.clj:352)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.refresh$wrap_refresh$fn__22788.invoke (refresh.clj:170)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.pprint$wrap_pprint$fn__22652.invoke (pprint.clj:51)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.middleware.pr_values$pr_values$fn__8584.invoke (pr_values.clj:22)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.test$wrap_test$fn__22909.invoke (test.clj:201)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.middleware.session$session$fn__8716.invoke (session.clj:192)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.server$handle_STAR_.invoke (server.clj:19)
    clojure.tools.nrepl.server$handle$fn__8785.invoke (server.clj:28)
    clojure.core$binding_conveyor_fn$fn__4444.invoke (core.clj:1916)
    clojure.lang.AFn.call (AFn.java:18)
    java.util.concurrent.FutureTask.run (FutureTask.java:262)
    java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1145)
    java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:615)
    java.lang.Thread.run (Thread.java:744)

error in process filter: Error in nrepl-refactor: clojure.lang.LispReader$ReaderException: java.lang.RuntimeException: Conditional read not allowed
 at clojure.lang.LispReader.read (LispReader.java:292)
    clojure.lang.LispReader.read (LispReader.java:196)
    clojure.lang.LispReader.read (LispReader.java:190)
    clojure.core$read.invoke (core.clj:3640)
    clojure.core$read.invoke (core.clj:3638)
    refactor_nrepl.find.find_macros$find_macro_definitions_in_file.invoke (find_macros.clj:44)
    clojure.core$map$fn__4553.invoke (core.clj:2624)
    clojure.lang.LazySeq.sval (LazySeq.java:40)
    clojure.lang.LazySeq.seq (LazySeq.java:49)
    clojure.lang.Cons.next (Cons.java:39)
    clojure.lang.RT.next (RT.java:674)
    clojure.core/next (core.clj:64)
    clojure.core$concat$cat__4217$fn__4218.invoke (core.clj:707)
    clojure.lang.LazySeq.sval (LazySeq.java:40)
    clojure.lang.LazySeq.seq (LazySeq.java:56)
    clojure.lang.RT.seq (RT.java:507)
    clojure.core/seq (core.clj:137)
    clojure.core$filter$fn__4580.invoke (core.clj:2679)
    clojure.lang.LazySeq.sval (LazySeq.java:40)
    clojure.lang.LazySeq.seq (LazySeq.java:56)
    clojure.lang.LazySeq.first (LazySeq.java:71)
    clojure.lang.RT.first (RT.java:653)
    clojure.core/first (core.clj:55)
    refactor_nrepl.find.find_macros$find_macro.invoke (find_macros.clj:182)
    refactor_nrepl.find.find_symbol$find_symbol.invoke (find_symbol.clj:231)
    refactor_nrepl.middleware$find_symbol_reply.invoke (middleware.clj:52)
    refactor_nrepl.middleware$wrap_refactor$fn__31978.invoke (middleware.clj:120)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.trace$wrap_trace$fn__23176.invoke (trace.clj:65)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.classpath$wrap_classpath$fn__17591.invoke (classpath.clj:24)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.resource$wrap_resource$fn__22818.invoke (resource.clj:49)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.middleware.interruptible_eval$interruptible_eval$fn__8652.invoke (interruptible_eval.clj:216)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.middleware.session$add_stdin$fn__8731.invoke (session.clj:238)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    link_gatekeeper.system$eval34437$fn__34438$fn__34440.invoke (form-init6022887040463714276.clj:1)
    clojure.tools.nrepl.middleware.load_file$wrap_load_file$fn__8772.invoke (load_file.clj:79)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.inspect$wrap_inspect$fn__19096.invoke (inspect.clj:108)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.debug$wrap_debug$fn__19258.invoke (debug.clj:352)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.refresh$wrap_refresh$fn__22788.invoke (refresh.clj:170)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.pprint$wrap_pprint$fn__22652.invoke (pprint.clj:51)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.middleware.pr_values$pr_values$fn__8584.invoke (pr_values.clj:22)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.test$wrap_test$fn__22909.invoke (test.clj:201)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.middleware.session$session$fn__8716.invoke (session.clj:192)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.server$handle_STAR_.invoke (server.clj:19)
    clojure.tools.nrepl.server$handle$fn__8785.invoke (server.clj:28)
    clojure.core$binding_conveyor_fn$fn__4444.invoke (core.clj:1916)
    clojure.lang.AFn.call (AFn.java:18)
    java.util.concurrent.FutureTask.run (FutureTask.java:262)
    java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1145)
    java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:615)
    java.lang.Thread.run (Thread.java:744)
Caused by: java.lang.RuntimeException: Conditional read not allowed
 at clojure.lang.Util.runtimeException (Util.java:221)
    clojure.lang.LispReader$ConditionalReader.checkConditionalAllowed (LispReader.java:1423)
    clojure.lang.LispReader$ConditionalReader.invoke (LispReader.java:1427)
    clojure.lang.LispReader$DispatchReader.invoke (LispReader.java:691)
    clojure.lang.LispReader.read (LispReader.java:263)
    clojure.lang.LispReader.readDelimitedList (LispReader.java:1200)
    clojure.lang.LispReader$VectorReader.invoke (LispReader.java:1150)
    clojure.lang.LispReader.read (LispReader.java:263)
    clojure.lang.LispReader.readDelimitedList (LispReader.java:1200)
    clojure.lang.LispReader$ListReader.invoke (LispReader.java:1049)
    clojure.lang.LispReader.read (LispReader.java:263)
    clojure.lang.LispReader.readDelimitedList (LispReader.java:1200)
    clojure.lang.LispReader$ListReader.invoke (LispReader.java:1049)
    clojure.lang.LispReader.read (LispReader.java:263)
    clojure.lang.LispReader.read (LispReader.java:196)
    clojure.lang.LispReader.read (LispReader.java:190)
    clojure.core$read.invoke (core.clj:3640)
    clojure.core$read.invoke (core.clj:3638)
    refactor_nrepl.find.find_macros$find_macro_definitions_in_file.invoke (find_macros.clj:44)
    clojure.core$map$fn__4553.invoke (core.clj:2624)
    clojure.lang.LazySeq.sval (LazySeq.java:40)
    clojure.lang.LazySeq.seq (LazySeq.java:49)
    clojure.lang.Cons.next (Cons.java:39)
    clojure.lang.RT.next (RT.java:674)
    clojure.core/next (core.clj:64)
    clojure.core$concat$cat__4217$fn__4218.invoke (core.clj:707)
    clojure.lang.LazySeq.sval (LazySeq.java:40)
    clojure.lang.LazySeq.seq (LazySeq.java:56)
    clojure.lang.RT.seq (RT.java:507)
    clojure.core/seq (core.clj:137)
    clojure.core$filter$fn__4580.invoke (core.clj:2679)
    clojure.lang.LazySeq.sval (LazySeq.java:40)
    clojure.lang.LazySeq.seq (LazySeq.java:56)
    clojure.lang.LazySeq.first (LazySeq.java:71)
    clojure.lang.RT.first (RT.java:653)
    clojure.core/first (core.clj:55)
    refactor_nrepl.find.find_macros$find_macro.invoke (find_macros.clj:182)
    refactor_nrepl.find.find_symbol$find_symbol.invoke (find_symbol.clj:231)
    refactor_nrepl.middleware$find_symbol_reply.invoke (middleware.clj:52)
    refactor_nrepl.middleware$wrap_refactor$fn__31978.invoke (middleware.clj:120)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.trace$wrap_trace$fn__23176.invoke (trace.clj:65)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.classpath$wrap_classpath$fn__17591.invoke (classpath.clj:24)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.resource$wrap_resource$fn__22818.invoke (resource.clj:49)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.middleware.interruptible_eval$interruptible_eval$fn__8652.invoke (interruptible_eval.clj:216)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.middleware.session$add_stdin$fn__8731.invoke (session.clj:238)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    link_gatekeeper.system$eval34437$fn__34438$fn__34440.invoke (form-init6022887040463714276.clj:1)
    clojure.tools.nrepl.middleware.load_file$wrap_load_file$fn__8772.invoke (load_file.clj:79)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.inspect$wrap_inspect$fn__19096.invoke (inspect.clj:108)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.debug$wrap_debug$fn__19258.invoke (debug.clj:352)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.refresh$wrap_refresh$fn__22788.invoke (refresh.clj:170)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.pprint$wrap_pprint$fn__22652.invoke (pprint.clj:51)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.middleware.pr_values$pr_values$fn__8584.invoke (pr_values.clj:22)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    cider.nrepl.middleware.test$wrap_test$fn__22909.invoke (test.clj:201)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.middleware.session$session$fn__8716.invoke (session.clj:192)
    clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__8401.invoke (middleware.clj:22)
    clojure.tools.nrepl.server$handle_STAR_.invoke (server.clj:19)
    clojure.tools.nrepl.server$handle$fn__8785.invoke (server.clj:28)
    clojure.core$binding_conveyor_fn$fn__4444.invoke (core.clj:1916)
    clojure.lang.AFn.call (AFn.java:18)
    java.util.concurrent.FutureTask.run (FutureTask.java:262)
    java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1145)
    java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:615)
    java.lang.Thread.run (Thread.java:744)

Ideas?

@expez
Copy link
Member

expez commented Aug 10, 2015

Guessing there's a cljc file somewhere in your project. find-macros reads everything and without the option being passed to read allowing conditional reading it probably blows up in this manner.

@magnars
Copy link
Contributor Author

magnars commented Aug 10, 2015

Yes, there certainly is a cljc file in the project.

@magnars
Copy link
Contributor Author

magnars commented Aug 10, 2015

So this is a regression as part of @benedekfazekas work on taming the macro AST beast?

@expez
Copy link
Member

expez commented Aug 10, 2015

No, we've never had support for anything but clj files. If you managed to do any work on cljc files in the past that was a happy accident :p

@magnars
Copy link
Contributor Author

magnars commented Aug 10, 2015

So not only don't we support cljc files, we also do not support a project with cljc files in it?

@expez
Copy link
Member

expez commented Aug 10, 2015

yes, if you have time you can tell the reader to accept reader macros and see what happens. Depending on your project you might get some value out of just following the :clj branches when reading.

@magnars
Copy link
Contributor Author

magnars commented Aug 10, 2015

This certainly did work before the summer, 4 weeks ago. I didn't expect it to work in .cljc-files, but I did expect it to continue working in .clj-files. This is a bad regression in my mind.

@expez expez changed the title What is Conditional read not allowed? find-symbol fails when the project contains cljc files Aug 10, 2015
@expez
Copy link
Member

expez commented Aug 10, 2015

Somewhat hard to admit this is a bug, because I didn't worry about cljc when writing the code:p

Putting a hack in place to get this to work like before should be pretty easy.

@magnars
Copy link
Contributor Author

magnars commented Aug 10, 2015

I guess the issue here is that I just want to inline a local let, and you have to traverse the entire project to find that out. But yeah, it might not be a bug, it might be by design, but it's still a regression. :)

@expez
Copy link
Member

expez commented Aug 10, 2015

I guess the issue here is that I just want to inline a local let, and you have to traverse the entire project to find that out

yes this does suck. Initially I tried to do (or local global macro) but the AST based approach returns some garbage results for macros, so the simplest thing that could possibly work was to just look for macros first :/

This means we might have introduced a performance regression too, but I'm not sure it matters because the work done to find macros appear to be a lot less than what tools.analyzer does to build that huge AST. I don't know how large the projects you work on are, but it would be great if you could keep an eye out for that.

v1 of the macro code also doesn't do any caching, so if there's a performance regression, that would certainly be a cheap win. Most likely easier than figuring out why we get spurious results for macros using the AST based search anyway.

@expez expez closed this as completed in 781db84 Aug 11, 2015
@magnars
Copy link
Contributor Author

magnars commented Aug 11, 2015

Thanks! :)

@expez
Copy link
Member

expez commented Aug 11, 2015

new snapshot deployed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants