From e3f1d7bc76d6bb3e2a2ad2b2ea454f21f0009cbb Mon Sep 17 00:00:00 2001 From: OkonSamuel Date: Sun, 19 May 2024 21:09:44 +0100 Subject: [PATCH] fix method ambiguity with Base.in in julia nightly Version 1.12.0-DEV.514 --- src/equality.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/equality.jl b/src/equality.jl index 21d556a..5b0ed27 100644 --- a/src/equality.jl +++ b/src/equality.jl @@ -158,6 +158,7 @@ Base.in(x::MLJType, itr::Set) = special_in(x, itr) Base.in(x::MLJType, itr::AbstractVector{<:MLJType}) = special_in(x, itr) Base.in(x::MLJType, itr::AbstractRange{<:MLJType}) = special_in(x, itr) Base.in(x::MLJType, itr::Tuple) = special_in(x, itr) +Base.in(x::MLJType, itr::Tuple{(Any for _ in 1:32)..., Vararg{Any}}) = special_in(x, itr) # A version of `in` that actually uses `==`: