File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 46
46
47
47
:lein-plugin {:source-paths [" lein-plugin" ]}
48
48
:test {:dependencies [[print-foo " 1.0.2" ]]}
49
- :dev {:global-vars {*warn-on-reflection* true }
50
- :dependencies [[org.clojure/clojurescript " 1.10.520" ]
49
+ :dev {:dependencies [[org.clojure/clojurescript " 1.10.520" ]
51
50
[org.clojure/core.async " 1.3.618" :exclusions [org.clojure/clojure org.clojure/tools.reader]]
52
51
[cider/piggieback " 0.5.2" ]
53
52
[commons-io/commons-io " 2.8.0" ]]
67
66
with-debug-bindings [[:inner 0 ]]
68
67
merge-meta [[:inner 0 ]]
69
68
try-if-let [[:block 1 ]]}}}]
70
- :eastwood {:plugins [[jonase/eastwood " 0.7 .1" ]]
69
+ :eastwood {:plugins [[jonase/eastwood " 0.9 .1" ]]
71
70
:eastwood {; ; vendored - shouldn't be tweaked for satisfying linters:
72
71
:exclude-namespaces [refactor-nrepl.ns.slam.hound.regrow]
73
72
; ; :implicit-dependencies would fail spuriously when the CI matrix runs for Clojure < 1.10,
Original file line number Diff line number Diff line change 12
12
13
13
(defn session-fixture
14
14
[f]
15
- (with-open [server (server/start-server :bind " localhost" :handler *handler*)
15
+ (with-open [^nrepl.server.Server
16
+ server (server/start-server :bind " localhost" :handler *handler*)
17
+ ^nrepl.transport.FnTransport
16
18
transport (nrepl/connect :port (:port server))]
17
19
(let [client (nrepl/client transport Long/MAX_VALUE)]
18
20
(binding [*session* (nrepl/client-session client)]
77
79
(t/is (= 'cljs.repl name))
78
80
(t/is (= :ns type)))
79
81
(t/testing " Finds macros"
80
- (let [{:keys [error] :as response} (message {:op :resolve-missing :symbol 'dir})
82
+ (let [{:keys [^String error] :as response} (message {:op :resolve-missing :symbol 'dir})
81
83
{:keys [name type]} (first (edn/read-string (:candidates response)))]
82
84
(when error
83
85
(throw (RuntimeException. error)))
You can’t perform that action at this time.
0 commit comments