Skip to content

Commit

Permalink
CLJS-1335: resolve-macro-var: information missing for macros
Browse files Browse the repository at this point in the history
  • Loading branch information
anmonteiro authored and dnolen committed Sep 16, 2016
1 parent e9e1614 commit d994f88
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/clojure/cljs/analyzer.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -854,9 +854,11 @@
:else
(let [ns (cond
(get-in namespaces [ns :macros sym]) ns
(core-name? env sym) 'cljs.core)]
(core-name? env sym) #?(:clj 'cljs.core
:cljs CLJS_CORE_MACROS_SYM))]
(when ns
(get-in namespaces [ns :macros sym]))))))
#?(:clj (get-in namespaces [ns :macros sym])
:cljs (get-in namespaces [ns :defs sym])))))))

(declare analyze analyze-symbol analyze-seq)

Expand Down

0 comments on commit d994f88

Please sign in to comment.