Fork me on GitHub
#cider
<
2015-11-16
>
jonpither15:11:52

ahh mranderson046.toolsreader.v0v10v0-alpha3.clojure.tools.reader.impl.utils.TaggedLiteral, compiling:(mranderson046/toolsreader/v0v10v0_alpha3/clojure/tools/reader/impl/utils.clj:50:7) Exception in thread "main" java.lang.RuntimeException: Unable to resolve var: refactor-nrepl.middleware/wrap-refactor in this context, compiling:(/private/var/folders/gj/prg2x13s37z9pcv9lgdgzwlm0000gn/T/form-init196975047898583034.clj:1:7679)

benedek15:11:17

guessing you are not on clojure 1.7

benedek15:11:41

latest snapshot only works with 1.7 :$

benedek15:11:05

due to reader conditionals (eg cljc files in some of our dependencies)

jonpither15:11:34

that fixed it - thanks

benedek15:11:44

on the bright side as 1.8 is getting RCs now it is really time to upgrade to 1.7 anyway 😉

benedek15:11:04

no worries. working on the :refer :all refactoring btw

benedek15:11:01

that said when you were requesting this: did you want to replace it with :refer [foo bar] or rather :as foo and have clj-refactor replace the occurrences of the used symbols in the body of the ns too?

jonpither15:11:28

not sure - two different features maybe?

jonpither15:11:50

i.e. one to add in a namespace prefix, the other to make refers explicit

benedek15:11:58

thinking of same feature and alias with a prefix

benedek15:11:31

tbh using alias is the best style most of the times i think

benedek15:11:52

so perhaps rather the other way around

jonpither16:11:27

I have a new bug

jonpither16:11:40

I'll make an issue