Skip to content

Commit c171ddb

Browse files
authored
run custom platform comparison strategies in the latest world (#59832)
1 parent 73a99f1 commit c171ddb

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
@@ -1096,7 +1096,7 @@ function platforms_match(a::AbstractPlatform, b::AbstractPlatform)
10961096

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

0 commit comments

Comments
 (0)