Skip to content

Commit c1cb8fb

Browse files
committed
tweak overloading of Base.in
1 parent cfc927b commit c1cb8fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/equality.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ Base.in(x::MLJType, itr::Set) = special_in(x, itr)
158158
Base.in(x::MLJType, itr::AbstractVector{<:MLJType}) = special_in(x, itr)
159159
Base.in(x::MLJType, itr::AbstractRange{<:MLJType}) = special_in(x, itr)
160160
Base.in(x::MLJType, itr::Tuple) = special_in(x, itr)
161+
Base.in(x::MLJType, itr::Tuple{(Any for _ in 1:32)..., Vararg{Any}}) = special_in(x, itr)
161162

162163
# A version of `in` that actually uses `==`:
163164

0 commit comments

Comments
 (0)