alternative fix for #4884; fixes tlateboundstatic
This commit is contained in:
parent
c86988491f
commit
28005cf02d
1 changed files with 1 additions and 1 deletions
|
|
@ -1359,7 +1359,7 @@ proc paramTypesMatchAux(m: var TCandidate, f, argType: PType,
|
|||
|
||||
if argType.kind == tyStatic:
|
||||
if m.callee.kind == tyGenericBody and
|
||||
argType.len == 0 and
|
||||
argType.n == nil and
|
||||
tfGenericTypeParam notin argType.flags:
|
||||
return newNodeIT(nkType, argOrig.info, makeTypeFromExpr(c, arg))
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue