technomancy/leiningen — Issue #293: Allow setting *warn-on-reflection* as compile parameter
Author: markokocic
Created: 2011-10-13 13:30:35+00:00
State: open

It would be good if lein compile would accept additional parameter which will set *warn-on-reflection* before compiling namespaces.

The current workaround where you put (set! *warn-on-reflection* true) in the beginning of the of the ns definition of the first :aot namespace doesn't help when using lein compile :all option.

It would even make sense to enable reflection warining by default, given the performance impact they have, end introduce option to suppress them.