sigmatch: use boolean algebra
This commit is contained in:
parent
9ee2ecf0a6
commit
c02320e230
1 changed files with 1 additions and 1 deletions
|
|
@ -1902,7 +1902,7 @@ proc userConvMatch(c: PContext, m: var TCandidate, f, a: PType,
|
|||
result = newDeref(result)
|
||||
|
||||
inc(m.convMatches)
|
||||
if m.genericConverter == false:
|
||||
if not m.genericConverter:
|
||||
m.genericConverter = srca == isGeneric or destIsGeneric
|
||||
return result
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue