File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 383383 the-ns (or (:ns opts) 'cljs.user)
384384 bound-vars (cond-> (merge bound-vars {:*cljs-ns* the-ns})
385385 (:source-map opts) (assoc :*sm-data* (sm-data )))]
386- ((fn analyze-loop [last-ast]
386+ ((fn analyze-loop [last-ast ns ]
387387 (binding [env/*compiler* (:*compiler* bound-vars)
388- ana/*cljs-ns* ( :*cljs-ns* bound-vars)
389- *ns* (create-ns ( :*cljs-ns* bound-vars) )
388+ ana/*cljs-ns* ns
389+ *ns* (create-ns ns )
390390 ana/*passes* (:*passes* bound-vars)
391391 r/*data-readers* (:*data-readers* bound-vars)
392392 comp/*source-map-data* (:*sm-data* bound-vars)]
417417 (fn [res]
418418 (if (:error res)
419419 (cb res)
420- (analyze-loop ast))))
421- (recur ast)))))
422- (cb {:value last-ast}))))))) nil )))
420+ (analyze-loop ast ( :name ast) ))))
421+ (recur ast ns )))))
422+ (cb {:value last-ast}))))))) nil the-ns )))
423423
424424(defn analyze-str
425425 " Analyze ClojureScript source. The compiler state will be populated with
You can’t perform that action at this time.
0 commit comments