Skip to content

Commit

Permalink
Added *wor* to interop heavy namespaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
fogus committed Jan 17, 2025
1 parent ae8557b commit 08f8ce1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/clojure/clojure/tools/analyzer/jvm.clj
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
(:import (clojure.lang IObj RT Compiler Var)
java.net.URL))

(set! *warn-on-reflection* true)

(def ns-safe-macro
"Clojure macros that are known to not alter namespaces"
#{#'clojure.core/->
Expand Down
2 changes: 2 additions & 0 deletions src/main/clojure/clojure/tools/analyzer/jvm/utils.clj
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
(:import (clojure.lang RT Symbol Var)
org.objectweb.asm.Type))

(set! *warn-on-reflection* true)

(defn ^:private type-reflect
[typeref & options]
(apply reflect/type-reflect typeref
Expand Down

0 comments on commit 08f8ce1

Please sign in to comment.