This commit is contained in:
ringabout
2026-05-07 20:28:24 +08:00
parent a353052d07
commit 6ade7056e7

View File

@@ -791,8 +791,8 @@ proc procParamTypeRel(c: var TCandidate; f, a: PType): TTypeRelation =
# different C types (size_t vs unsigned long long).
let fCheck = concreteType(c, f)
let aCheck = concreteType(c, a)
# Notes that `result` is requal, now
# we checks whether they have the same backend type
# Notes that `result` is equal, now
# we check whether they have the same backend type
if fCheck != nil and aCheck != nil and
not sameBackendTypePickyAliases(
fCheck.skipTypes({tyVar, tyLent, tySink, tyOwned}),