the is operator now uses exactly the same algorithm as proc signature matching
This commit is contained in:
parent
3f71b7f1f6
commit
5a6030a16b
3 changed files with 11 additions and 22 deletions
|
|
@ -820,7 +820,7 @@ proc typeRel(c: var TCandidate, f, aOrig: PType, doBind = true): TTypeRelation =
|
|||
else:
|
||||
return isNone
|
||||
|
||||
of tyUserTypeClassInst:
|
||||
of tyUserTypeClass, tyUserTypeClassInst:
|
||||
considerPreviousT:
|
||||
result = matchUserTypeClass(c.c, c, f, a)
|
||||
if result == isGeneric:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue