fixes #14562
This commit is contained in:
parent
7cb4ef26ad
commit
0824fdd061
1 changed files with 4 additions and 1 deletions
|
|
@ -527,7 +527,10 @@ proc semResolvedCall(c: PContext, x: TCandidate,
|
|||
for s in instantiateGenericParamList(c, gp, x.bindings):
|
||||
case s.kind
|
||||
of skConst:
|
||||
x.call.add s.ast
|
||||
if not s.ast.isNil:
|
||||
x.call.add s.ast
|
||||
else:
|
||||
x.call.add c.graph.emptyNode
|
||||
of skType:
|
||||
x.call.add newSymNode(s, n.info)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue