Fork me on GitHub
#leiningen
<
2018-02-17
>
noisesmith00:02:45

@sophiago so I just confirmed -

(binding [*warn-on-reflection* true *unchecked-math* :warn-on-boxed] (compile 'foo.bar))
will give reflection and boxing warnings for foo.bar and transitively for everything it requires

noisesmith00:02:58

sadly it only works as expected if ’foo.bar isn’t loaded yet (otherwise it would be helpful to just run it from an existing repl)

sophiago00:02:11

Thanks. I actually like it the way I have it now, though. I can run lein check and it works exactly like that or I can add it as a profile. The things is I'm leaving a few warnings since I want them to be polymorphic between longs and doubles so don't want to see them all the time.

aaron5103:02:43

@danielcompton @noisesmith Found a solution to the PID/exec problem from the other day —- github/yelp/dumb-init passes signals down to lein (the bash script) and also the Java process. No script changes needed!