diff --git a/compiler/semcall.nim b/compiler/semcall.nim index d2460ab06d..e2844e4302 100644 --- a/compiler/semcall.nim +++ b/compiler/semcall.nim @@ -665,14 +665,18 @@ proc explicitGenericSym(c: PContext, n: PNode, s: PSym): PNode = onUse(info, s) result = newSymNode(newInst, info) -proc explicitGenericInstantiation(c: PContext, n: PNode, s: PSym): PNode = - assert n.kind == nkBracketExpr +proc setGenericParams(c: PContext, n: PNode) = + ## sems generic params in subscript expression for i in 1..