Skip to content

Commit 7398f08

Browse files
committed
Fix bug that caused overlooking local macro definitions
One more forgotten doall - dynamic scope and lazy sequences definitely don't go well together.
1 parent 0cf28f8 commit 7398f08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/clojure/clojure/tools/macro.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
"Handle deftype* forms."
154154
[[symbol typename classname fields implements interfaces & methods]]
155155
(assert (= implements :implements))
156-
(let [expanded-methods (map #(expand-args % 2) methods)]
156+
(let [expanded-methods (doall (map #(expand-args % 2) methods))]
157157
(concat
158158
(list symbol typename classname fields implements interfaces)
159159
expanded-methods)))

0 commit comments

Comments
 (0)