We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e48a34 commit 86c79aeCopy full SHA for 86c79ae
src/main/cljs/cljs/core.cljs
@@ -2379,7 +2379,7 @@ reduces them without incurring seq initialization"
2379
(if (.hasNext iter)
2380
(let [init (.next iter)]
2381
(loop [acc init]
2382
- (if (.hasNext iter)
+ (if ^boolean (.hasNext iter)
2383
(let [nacc (f acc (.next iter))]
2384
(if (reduced? nacc)
2385
@nacc
@@ -2389,7 +2389,7 @@ reduces them without incurring seq initialization"
2389
([coll f init]
2390
(let [iter (-iterator coll)]
2391
2392
2393
2394
2395
0 commit comments