                (when (not= (-> env :ns :name) full-ns)
                  (confirm-ns env full-ns))
                (confirm env full-ns (symbol (name sym))))
-             (merge (get-in @env/*compiler* [::namespaces full-ns :defs (symbol (name sym))])
+             (merge (gets @env/*compiler* ::namespaces full-ns :defs (symbol (name sym)))
                     {:name (symbol (str full-ns) (str (name sym)))
                      :ns full-ns}))
 

    "volatile" "while" "with" "yield" "methods"
    "null"})

#?(:cljs
   (def CLJ_NIL_SYM 'clj-nil))


                     (first (string/split sufstr #"\."))
                     suffix))]
      (when (and (not (implicit-import? env prefix suffix))
                 (not (and (not (gets @env/*compiler* ::namespaces prefix))
                           (or (get (:requires (:ns env)) prefix)
                           (get (:imports (:ns env)) prefix))))
                 (not (and (= prefix 'cljs.core) (= suffix 'unquote)))
                 (not (gets @env/*compiler* ::namespaces prefix :defs suffix)))
        (missing-fn env prefix suffix)))))

(defn confirm-var-exists-throw []
