Details
-
Type:
Defect
-
Status:
Closed
-
Priority:
Major
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: Release 1.3
-
Component/s: None
-
Labels:None
-
Patch:Code
-
Approval:Ok
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.