Skip to content

Commit 1f8bc09

Browse files
committed
run custom platform comparison strategies in the latest world (#59832)
(cherry picked from commit c171ddb)
1 parent 971c4af commit 1f8bc09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/binaryplatforms.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,7 @@ function platforms_match(a::AbstractPlatform, b::AbstractPlatform)
10441044

10451045
# Call the comparator, passing in which objects requested this comparison (one, the other, or both)
10461046
# For some comparators this doesn't matter, but for non-symmetrical comparisons, it does.
1047-
if !(comparator(ak, bk, a_comp === comparator, b_comp === comparator)::Bool)
1047+
if !(@invokelatest(comparator(ak, bk, a_comp === comparator, b_comp === comparator))::Bool)
10481048
return false
10491049
end
10501050
end

0 commit comments

Comments
 (0)