Skip to content

Commit 460ffa0

Browse files
committed
add warn-on-reflection binding in compile-clj example
1 parent 143611f commit 460ffa0

File tree

1 file changed

+2
-1
lines changed
  • src/main/clojure/clojure/tools/build

1 file changed

+2
-1
lines changed

Diff for: src/main/clojure/clojure/tools/build/api.clj

+2-1
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,8 @@
296296
:elide-meta [:doc :file :line ...]
297297
:direct-linking false}
298298
:bindings - map of Var to value to be set during compilation, for example:
299-
{#'clojure.core/*assert* false}
299+
{#'clojure.core/*assert* false
300+
#'clojure.core/*warn-on-reflection* true}
300301
:filter-nses - coll of symbols representing a namespace prefix to include
301302
302303
Additional options flow to the forked process doing the compile:

0 commit comments

Comments
 (0)