 
 (defn resolve-cljs-var [ns sym]
   (merge (ana/gets @env/*compiler* ::ana/namespaces ns :defs sym)
-    {:name (symbol (str ns) (str sym))
+    {:op :var
+     :name (symbol (str ns) (str sym))
      :ns ns}))
 
 (defn resolve-ns-var [ns sym current-ns]

                 (confirm env current-ns sym))
               (resolve-cljs-var current-ns sym)
               )))))))

(defn infer-externs-dot
  [{:keys [form form-meta method field target-tag env prop tag] :as ast}

    (resolve-js-var ns sym current-ns)

    (contains? (:goog-names @env/*compiler*) ns)
    {:op :js-var
     :name (symbol (str ns) (str sym))
     :ns ns}

    :else
