diff --git a/compiler/semtempl.nim b/compiler/semtempl.nim index dedea2e995..d5d9196fb3 100644 --- a/compiler/semtempl.nim +++ b/compiler/semtempl.nim @@ -106,9 +106,15 @@ proc semBindStmt(c: PContext, n: PNode, toBind: var IntSet): PNode = result = newNodeI(nkEmpty, n.info) proc semMixinStmt(c: PContext, n: PNode, toMixin: var IntSet): PNode = + result = copyNode(n) + var count = 0 for i in 0..