Permalink
Browse files

Fix bug that caused overlooking local macro definitions

One more forgotten doall - dynamic scope and lazy sequences definitely
don't go well together.
  • Loading branch information...
1 parent 0cf28f8 commit 7398f083a3c1504af07b6493a36962577fd1fc79 @khinsen khinsen committed Sep 12, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/clojure/clojure/tools/macro.clj
@@ -153,7 +153,7 @@
"Handle deftype* forms."
[[symbol typename classname fields implements interfaces & methods]]
(assert (= implements :implements))
- (let [expanded-methods (map #(expand-args % 2) methods)]
+ (let [expanded-methods (doall (map #(expand-args % 2) methods))]
(concat
(list symbol typename classname fields implements interfaces)
expanded-methods)))

0 comments on commit 7398f08

Please sign in to comment.