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

Attachments

1

Activity

Completed

Details

Assignee

Reporter

Approval

Patch

Priority

Fix versions

Created December 21, 2010 at 10:20 PM
Updated March 1, 2013 at 6:47 PM
Resolved March 1, 2013 at 6:47 PM