<< Back to previous view

[CLJ-697] Compiler doesn't push a binding for *unchecked-math* Created: 21/Dec/10  Updated: 01/Mar/13  Resolved: 05/Jan/11

Status: Closed
Project: Clojure
Component/s: None
Affects Version/s: None
Fix Version/s: Release 1.3

Type: Defect Priority: Major
Reporter: Alan Dipert Assignee: Alan Dipert
Resolution: Completed Votes: 0
Labels: None

Attachments: File 697_unchecked_math.diff    
Patch: Code
Approval: Ok
Waiting On: Stuart Halloway

 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.


Generated at Fri Aug 22 03:08:38 CDT 2014 using JIRA 4.4#649-r158309.