<< Back to previous view

[ASYNC-15] go macro interferes with macros that use &env Created: 30/Jul/13  Updated: 02/Aug/13  Resolved: 02/Aug/13

Status: Resolved
Project: core.async
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Major
Reporter: David Nolen Assignee: Timothy Baldridge
Resolution: Completed Votes: 0
Labels: None


 Description   
(defmacro locals-test []
  (if (get &env 'x)
    :works
    :sad-panda))

(let [x 1]
  (locals-test)) ;; :works

(<!! (go
       (let [x 1]
         (locals-test)))) ;; :sad-panda


 Comments   
Comment by Timothy Baldridge [ 02/Aug/13 10:56 AM ]

fixed in : https://github.com/clojure/core.async/commit/9371afbe6b90270f005eb003a08fdcbb9aaa6117

Generated at Sun Aug 31 01:18:06 CDT 2014 using JIRA 4.4#649-r158309.