Skip to content

Commit a7c0899

Browse files
frenchy64swannodette
authored andcommitted
rename :meta op to :with-meta
1 parent 70910c2 commit a7c0899

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/clojure/cljs/analyzer.cljc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3486,7 +3486,7 @@
34863486
(let [env (:env expr) ; take on expr's context ourselves
34873487
expr (assoc-in expr [:env :context] :expr) ; change expr to :expr
34883488
meta-expr (analyze-map (:env expr) m)]
3489-
{:op :meta :env env :form form
3489+
{:op :with-meta :env env :form form
34903490
:meta meta-expr :expr expr :children [meta-expr expr]})
34913491
expr)))
34923492

src/main/clojure/cljs/compiler.cljc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@
406406
(emits "new cljs.core.Var(function(){return " (munge name) ";},"
407407
sym "," meta ")"))))
408408

409-
(defmethod emit* :meta
409+
(defmethod emit* :with-meta
410410
[{:keys [expr meta env]}]
411411
(emit-wrap env
412412
(emits "cljs.core.with_meta(" expr "," meta ")")))

0 commit comments

Comments
 (0)