Skip to content

Commit 08f8ce1

Browse files
committed
Added *wor* to interop heavy namespaces.
1 parent ae8557b commit 08f8ce1

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/main/clojure/clojure/tools/analyzer/jvm.clj

+2
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@
4848
(:import (clojure.lang IObj RT Compiler Var)
4949
java.net.URL))
5050

51+
(set! *warn-on-reflection* true)
52+
5153
(def ns-safe-macro
5254
"Clojure macros that are known to not alter namespaces"
5355
#{#'clojure.core/->

src/main/clojure/clojure/tools/analyzer/jvm/utils.clj

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
(:import (clojure.lang RT Symbol Var)
1717
org.objectweb.asm.Type))
1818

19+
(set! *warn-on-reflection* true)
20+
1921
(defn ^:private type-reflect
2022
[typeref & options]
2123
(apply reflect/type-reflect typeref

0 commit comments

Comments
 (0)