Compiler doesn't push a binding for *unchecked-math*

Description

Compile.java in Clojure doesn't push a binding for unchecked-math, so compilation of code with statements like (set! unchecked-math true) fails with:

Can't change/establish root binding of: unchecked-math with set

This problem doesn't happen with the REPL because with-bindings in clojure.main sets up an unchecked-math binding.

Environment

None
Completed

Assignee

Alan Dipert

Reporter

Alan Dipert

Approval

Ok

Patch

Code

Priority

Major

Fix versions