Skip to content

Commit 9349667

Browse files
frenchy64swannodette
authored andcommitted
rename :var-special op to :the-var
1 parent 359d34e commit 9349667

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/clojure/cljs/analyzer.cljc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1364,7 +1364,7 @@
13641364
[op env [_ sym :as form] _ _]
13651365
(merge
13661366
{:env env
1367-
:op :var-special
1367+
:op :the-var
13681368
:form form}
13691369
(var-ast env sym)))
13701370

src/main/clojure/cljs/compiler.cljc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@
398398

399399
(emits info)))))))))
400400

401-
(defmethod emit* :var-special
401+
(defmethod emit* :the-var
402402
[{:keys [env var sym meta] :as arg}]
403403
{:pre [(ana/ast? sym) (ana/ast? meta)]}
404404
(let [{:keys [name]} (:info var)]
@@ -705,7 +705,7 @@
705705
(when (:def-emits-var env)
706706
(emitln "; return (")
707707
(emits (merge
708-
{:op :var-special
708+
{:op :the-var
709709
:env (assoc env :context :expr)}
710710
var-ast))
711711
(emitln ");})()"))

0 commit comments

Comments
 (0)