diff --git a/compiler/semexprs.nim b/compiler/semexprs.nim index 5bd52a453a2aa..92d3220d081de 100644 --- a/compiler/semexprs.nim +++ b/compiler/semexprs.nim @@ -1123,20 +1123,6 @@ proc afterCallActions(c: PContext; n, orig: PNode, flags: TExprFlags; expectedTy # don't fold calls in concepts and typeof result = evalAtCompileTime(c, result) -proc shouldBeBracketExpr(n: PNode): bool = - result = false - assert n.kind in nkCallKinds - let a = n[0] - if a.kind in nkCallKinds: - let b = a[0] - if b.kind in nkSymChoices: - for i in 0..