Skip to content

Commit

Permalink
fix nim-lang#16376 explicitGenericInstantiation
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour committed Jun 29, 2021
1 parent 6387e28 commit bce03f6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions compiler/semexprs.nim
Original file line number Diff line number Diff line change
Expand Up @@ -1563,10 +1563,6 @@ proc semSubscript(c: PContext, n: PNode, flags: TExprFlags): PNode =
# type parameters: partial generic specialization
n[0] = semSymGenericInstantiation(c, n[0], s)
result = explicitGenericInstantiation(c, n, s)
if result == n:
n[0] = copyTree(result)
else:
n[0] = result
of skMacro, skTemplate:
if efInCall in flags:
# We are processing macroOrTmpl[] in macroOrTmpl[](...) call.
Expand Down

0 comments on commit bce03f6

Please sign in to comment.