Skip to content

Commit 2a7b5ed

Browse files
committed
lint: appease eastwood warning
From eastwood: test/rewrite_clj/zip/test_helper.cljc:57:1: performance {:kind :recur}: recur arg for primitive local: rows is not matching primitive, had: Object, needed: long Could turn this linter off, but whatevs for now.
1 parent 25853fb commit 2a7b5ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/rewrite_clj/zip/test_helper.cljc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
(inc rows)
5555
(cond
5656
(z/linebreak? zloc)
57-
(recur (z/prev* zloc) (+ rows (z/length zloc)))
57+
(recur (z/prev* zloc) (long (+ rows (z/length zloc))))
5858

5959
(n/comment? (z/node zloc))
6060
(recur (z/prev* zloc) (inc rows))

0 commit comments

Comments
 (0)