File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 558
558
(throw err#)
559
559
(throw (error ~env (.getMessage err#) err#)))))))
560
560
561
- (def implicit-nses '#{cljs.core goog goog.object goog.string goog.array Math})
561
+ ; ; namespaces implicit to the inclusion of cljs.core
562
+ (def implicit-nses '#{goog goog.object goog.string goog.array Math})
562
563
563
564
(defn implicit-import?
564
565
#? (:cljs {:tag boolean})
619
620
" Given env, an analysis environment, and ns-sym, a symbol identifying a
620
621
namespace, confirm that the namespace exists. Warn if not found."
621
622
[env ns-sym]
622
- (when (and (nil? (get implicit-nses ns-sym))
623
+ (when (and (not= 'cljs.core ns-sym)
624
+ (nil? (get implicit-nses ns-sym))
623
625
(nil? (get (-> env :ns :requires ) ns-sym))
624
626
; ; something else may have loaded the namespace, i.e. load-file
625
627
(nil? (gets @env/*compiler* ::namespaces ns-sym))
You can’t perform that action at this time.
0 commit comments