Skip to content

Commit 55f9bcc

Browse files
mfikesswannodette
authored andcommitted
CLJS-2073: Don't flush for every emitted line
1 parent 9b4fcfc commit 55f9bcc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/clojure/cljs/compiler.cljc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,8 @@
203203

204204
(defn emitln [& xs]
205205
(apply emits xs)
206-
(println)
206+
(binding [*flush-on-newline* false]
207+
(println))
207208
(when *source-map-data*
208209
(swap! *source-map-data*
209210
(fn [{:keys [gen-line] :as m}]

0 commit comments

Comments
 (0)