<< Back to previous view

[CLJ-876] #^:dynamic vars declared in a nested form are not immediately dynamic Created: 14/Nov/11  Updated: 09/Dec/11  Resolved: 09/Dec/11

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

Type: Enhancement Priority: Minor
Reporter: Micah Martin Assignee: Micah Martin
Resolution: Completed Votes: 0
Labels: None


Attachments: File micah_testing_876.diff    
Patch: Code and Test
Approval: Ok



The following snippet throws an error stating that p is unbound.

(declare ^:dynamic p)
(defn q [] @p))
(binding [p (atom 10)]

Comment by Micah Martin [ 14/Nov/11 10:10 AM ]

Rich fixed: https://github.com/clojure/clojure/commit/535907eb2be47eaee0c385ae16436f39d52ffa96

Comment by Stuart Halloway [ 02/Dec/11 2:01 PM ]

test for fix already made

Generated at Wed Oct 07 16:09:04 CDT 2015 using JIRA 4.4#649-r158309.