File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/main/clojure/clojure/tools/emitter/passes/jvm Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 78
78
(defmethod -clear-locals :default
79
79
[{:keys [closed-overs op loop-id] :as ast}]
80
80
(if closed-overs
81
- (let [key (if (= :loop op) :loop-closed-overs ) ; ; if we're in a loop those are not actually closed-overs
82
- [ast body-locals] (binding [*clears* (atom (if (= :loop op)
81
+ (let [[ast body-locals] (binding [*clears* (atom (if (= :loop op) ; ; if we're in a loop those are not actually closed-overs
83
82
(assoc-in @*clears* [:loop-closed-overs loop-id] closed-overs)
84
83
(update-in @*clears* [:closed-overs ] merge closed-overs)))] ; ; clear locals in the body
85
84
[(update-children ast -clear-locals rseqv) (:locals @*clears*)]) ; ; and save encountered locals
You can’t perform that action at this time.
0 commit comments