requested pull-request changes
This commit is contained in:
parent
31651ecd61
commit
e129466910
5 changed files with 25 additions and 18 deletions
|
|
@ -857,6 +857,7 @@ proc semIndirectOp(c: PContext, n: PNode, flags: TExprFlags): PNode =
|
|||
else:
|
||||
result = m.call
|
||||
instGenericConvertersSons(c, result, m)
|
||||
|
||||
elif t != nil and t.kind == tyTypeDesc:
|
||||
if n.len == 1: return semObjConstr(c, n, flags)
|
||||
return semConv(c, n)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue