 
 (defn hijacked-parse-ns [env form name opts]
   (-> (util/parse-ns form)
-      (rewrite-clojure-requires opts)
+      (rewrite-ns-aliases opts)
       (assoc :env env :form form :op :ns)))
 
 (def default-parse ana/parse)

        ))))

(defn update-rc-from-ns
  [state rc {:keys [name require-order require-macros use-macros] :as ast}]
  {:pre [(compiler-state? state)]}
  (let [require-order
        (if (= 'cljs.core name)

          (if (identical? peek eof-sentinel)
            (throw (ex-info "file is empty" {:name name}))
            (let [ast (-> (util/parse-ns peek)
                          (rewrite-ns-aliases state))]
              (-> state
                  (update-rc-from-ns rc ast)
                  (assoc :cljc cljc?)))))
