We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5c94f0 commit 8912024Copy full SHA for 8912024
src/rewrite_clj/node/meta.clj
@@ -13,7 +13,7 @@
13
(let [[mta data] (node/sexprs children)]
14
(assert (instance? clojure.lang.IMeta data)
15
(str "cannot attach metadata to: " (pr-str data)))
16
- (with-meta data (if (map? mta) mta {mta true}))))
+ (vary-meta data merge (if (map? mta) mta {mta true}))))
17
(length [_]
18
(+ (count prefix) (node/sum-lengths children)))
19
(string [_]
0 commit comments