parent
b62f4b1b0c
commit
fd16875561
4 changed files with 51 additions and 4 deletions
|
|
@ -1472,6 +1472,10 @@ proc semSubscript(c: PContext, n: PNode, flags: TExprFlags): PNode =
|
|||
# type parameters: partial generic specialization
|
||||
n.sons[0] = semSymGenericInstantiation(c, n.sons[0], s)
|
||||
result = explicitGenericInstantiation(c, n, s)
|
||||
if result == n:
|
||||
n.sons[0] = copyTree(result)
|
||||
else:
|
||||
n.sons[0] = result
|
||||
of skMacro, skTemplate:
|
||||
if efInCall in flags:
|
||||
# We are processing macroOrTmpl[] in macroOrTmpl[](...) call.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue