File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 48
48
:test {:dependencies [[print-foo " 1.0.2" ]]}
49
49
:dev {:global-vars {*warn-on-reflection* true }
50
50
:dependencies [[org.clojure/clojurescript " 1.10.520" ]
51
- [org.clojure/core.async " 1.3.618" :exclusions [org.clojure/clojure org.clojure/tools.reader]]
51
+ [org.clojure/core.async " 1.3.618" :exclusions [org.clojure/clojure org.clojure/tools.reader]]
52
52
[cider/piggieback " 0.5.2" ]
53
53
[commons-io/commons-io " 2.8.0" ]]
54
54
:repl-options {:nrepl-middleware [cider.piggieback/wrap-cljs-repl]}
Original file line number Diff line number Diff line change 78
78
; ; Use `locking`, because AST analysis can perform arbitrary evaluation.
79
79
; ; Parallel analysis is not safe, especially as it can perform `require` calls.
80
80
(locking core/require-lock ; ; for both `require` and `aj/analyze-ns`
81
- (require ns ) ; ; ease the work for t.ana
81
+
82
+ ; ; Performing this `require` makes it more likely that t.ana will succeed.
83
+ ; ; I believe it's because `require` will also require other namespaces recursively.
84
+ ; ; t.ana does so in theory as well, but it's slightly more rigid,
85
+ ; ; and/or does not always do the same exact thing the Clojure compiler would.
86
+ (require ns )
82
87
(let [opts {:passes-opts
83
88
{:validate/unresolvable-symbol-handler shadow-unresolvable-symbol-handler
84
89
:validate/throw-on-arity-mismatch false
You can’t perform that action at this time.
0 commit comments