File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1370,8 +1370,7 @@ should contain the source for the given namespace name."
1370
1370
([source opts compiler-env]
1371
1371
(env/with-compiler-env compiler-env
1372
1372
(let [compiler-stats (:compiler-stats opts)
1373
- all-opts (assoc (add-implicit-options opts)
1374
- :compilation-mode :non-interactive )
1373
+ all-opts (add-implicit-options opts)
1375
1374
emit-constants (or (and (= (:optimizations opts) :advanced )
1376
1375
(not (false ? (:optimize-constants opts))))
1377
1376
(:optimize-constants opts))]
Original file line number Diff line number Diff line change 1115
1115
; ; populate compilation environment with analysis information
1116
1116
; ; while it would seem this isn't necessary avoiding to do so damages
1117
1117
; ; composition of smaller compilation units like expressions (i.e. REPLs)
1118
- (when (and (not= (:compilation-mode opts) :non-interactive )
1119
- (not (contains? (::ana/namespaces @env/*compiler*) ns )))
1118
+ (when (not (contains? (::ana/namespaces @env/*compiler*) ns ))
1120
1119
(with-core-cljs opts (fn [] (ana/analyze-file src-file opts))))
1121
1120
ns-info)))
1122
1121
(catch Exception e
You can’t perform that action at this time.
0 commit comments