Fork me on GitHub

@nikolavojicic it’s a clj feature that is a global dynamic var. it isn’t able to distinguish between your ns’s and those you require while compiling them.

👍 4

You could probably consider just filtering the warning output perhaps if you wanted less noise. But not built in.


One can put (set! **warn-on-reflection** true) into a single file with one namespace, and it affects only the compilation of that namespace. I do not know exactly how Leiningen treats the value of the :global-vars key, but it apparently by default applies it equally to all files being compiled, somehow.

👍 4
Alex Miller (Clojure team)22:04:56

it's just bound higher in the stack

Alex Miller (Clojure team)22:04:49

when you put it in the file it's only on the stack during the load of that file