Skip to content

Commit 460ffa0

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

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • src/main/clojure/clojure/tools/build

src/main/clojure/clojure/tools/build/api.clj

Lines changed: 2 additions & 1 deletion
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)