Skip to content

Commit 3fb146a

Browse files
committed
roll back to sum(length.(...)) for <1.6 compatibility
1 parent eb9d650 commit 3fb146a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utilities.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@ function printmethod_format(buffer::IOBuffer, binding::String, args::Vector{Stri
190190
if method_length_over_limit(
191191
length(binding) +
192192
1 +
193-
sum(length, args; init = 0) +
194-
sum(length, kws; init = 0) +
193+
sum(length.(args)) +
194+
sum(length.(kws)) +
195195
2*max(0, length(args)-1) +
196196
2*length(kws) +
197197
1 +

0 commit comments

Comments
 (0)