Skip to content

Commit 19b8aba

Browse files
authored
Update src/utilities.jl
1 parent aec4f32 commit 19b8aba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utilities.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ function keywords(func, m::Method)
459459
if !(Base.fieldindex(Core.MethodTable, :kwsorter, false) > 0) || isdefined(table, :kwsorter)
460460
# Fetching method keywords stolen from base/replutil.jl:572-576 (commit 3b45cdc9aab0):
461461
kwargs = VERSION < v"1.4.0-DEV.215" ? Base.kwarg_decl(m, typeof(table.kwsorter)) : Base.kwarg_decl(m)
462-
if isa(kwargs, Vector) && length(kwargs) > 0 && kwargs != [:...] # in julia 1.10 sometimes kwargs is `[:...]`, ignore that
462+
if isa(kwargs, Vector) && length(kwargs) > 0
463463
filter!(arg -> !occursin("#", string(arg)), kwargs)
464464
# Keywords *may* not be sorted correctly. We move the vararg one to the end.
465465
index = findfirst(arg -> endswith(string(arg), "..."), kwargs)

0 commit comments

Comments
 (0)