File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 464464 (let [ijs (ana/parse-ns [form])] ; ; if ns form need to check for js modules - David
465465 (cljsc/handle-js-modules opts [ijs] env/*compiler*)
466466 (binding [ana/*check-alias-dupes* false ]
467- (ana/no-warn (->ast form)))))
467+ (ana/no-warn (->ast form))))) ; ; need new AST after we know what the modules are - David
468468 wrap-js
469469 ; ; TODO: check opts as well - David
470470 (if (:source-map repl-env)
493493 ; ; NOTE: means macros which expand to ns aren't supported for now
494494 ; ; when eval'ing individual forms at the REPL - David
495495 (when (#{:ns :ns* } (:op ast))
496- (let [ast (ana/no-warn (ana/analyze env form nil opts))]
497- (load-dependencies repl-env
498- (into (vals (:requires ast))
499- (distinct (vals (:uses ast))))
500- opts)))
496+ (load-dependencies repl-env
497+ (into (vals (:requires ast)) (distinct (vals (:uses ast))))
498+ opts))
501499 (when *cljs-verbose*
502500 (err-out (println wrap-js)))
503501 (let [ret (-evaluate repl-env filename (:line (meta form)) wrap-js)]
You can’t perform that action at this time.
0 commit comments