From 324854f8a0af5c6674a8adcdf1620c339f36e7a5 Mon Sep 17 00:00:00 2001 From: William Moses Date: Mon, 9 Dec 2024 17:13:02 -0500 Subject: [PATCH] fix --- src/compiler/validation.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/validation.jl b/src/compiler/validation.jl index 525e4d874c..20be3891a0 100644 --- a/src/compiler/validation.jl +++ b/src/compiler/validation.jl @@ -483,7 +483,7 @@ end end @inline function has_method(@nospecialize(sig::Type), world::UInt, mt::Core.Compiler.OverlayMethodTable) - return has_method(sig, mt.mt, mt.world) || has_method(sig, nothing, mt.world) + return has_method(sig, mt.world, mt.mt) || has_method(sig, mt.world, nothing) end @inline function is_inactive(@nospecialize(tys::Union{Vector{Union{Type,Core.TypeofVararg}}, Core.SimpleVector}), world::UInt, @nospecialize(mt))