Skip to content

Commit

Permalink
fix resolve-var handling of property access on local symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
Bronsa authored and David Nolen committed Aug 7, 2014
1 parent d839ac1 commit d7c8960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clj/cljs/analyzer.clj
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@
suffix (subs s (inc idx))
lb (-> env :locals prefix)]
(if lb
{:name (symbol (str (:name lb) suffix))}
{:name (symbol (str (:name lb)) suffix)}
(let [cur-ns (-> env :ns :name)]
(if-let [full-ns (get-in @env/*compiler* [::namespaces cur-ns :imports prefix])]
{:name (symbol (str full-ns) suffix)}
Expand Down

0 comments on commit d7c8960

Please sign in to comment.