diff --git a/compiler/semexprs.nim b/compiler/semexprs.nim index 8b22555ae2..a179c68d7b 100644 --- a/compiler/semexprs.nim +++ b/compiler/semexprs.nim @@ -1012,10 +1012,14 @@ proc finishOperand(c: PContext, a: PNode): PNode = localError(c.config, a.info, err) considerGenSyms(c, result) -proc semFinishOperands(c: PContext; n: PNode) = +proc semFinishOperands(c: PContext; n: PNode; isBracketExpr = false) = # this needs to be called to ensure that after overloading resolution every - # argument has been sem'checked: - for i in 1..