sigmatch: ensure 'owned proc' works with system.isNil
This commit is contained in:
parent
1da98b1636
commit
8fb04b320a
1 changed files with 1 additions and 1 deletions
|
|
@ -1584,7 +1584,7 @@ proc typeRelImpl(c: var TCandidate, f, aOrig: PType,
|
|||
considerPreviousT:
|
||||
let targetKind = f.sons[0].kind
|
||||
let effectiveArgType = a.skipTypes({tyRange, tyGenericInst,
|
||||
tyBuiltInTypeClass, tyAlias, tySink})
|
||||
tyBuiltInTypeClass, tyAlias, tySink, tyOwned})
|
||||
let typeClassMatches = targetKind == effectiveArgType.kind and
|
||||
not effectiveArgType.isEmptyContainer
|
||||
if typeClassMatches or
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue