From 31317caca4a855a27e2f2523e2549fc03474f759 Mon Sep 17 00:00:00 2001 From: Joey Payne Date: Wed, 7 Oct 2015 23:41:01 -0600 Subject: [PATCH] Removed debug prints. --- oop_macro.nim | 2 -- 1 file changed, 2 deletions(-) diff --git a/oop_macro.nim b/oop_macro.nim index 2a0bbe1..3a8da4f 100644 --- a/oop_macro.nim +++ b/oop_macro.nim @@ -222,7 +222,6 @@ macro class*(head: untyped, body: untyped): untyped = of nnkIteratorDef, nnkConverterDef, nnkMacroDef, nnkTemplateDef: # inject `self: T` into the arguments let n = copyNimTree(node) - echo n.treeRepr n[3].insert(1, newIdentDefs(ident(objReference), typeName)) result.insert(numRes, n) numRes += 1 @@ -291,7 +290,6 @@ macro class*(head: untyped, body: untyped): untyped = # Empty <= We want to replace self typeDecl[0][0][2][0][2] = recList result.insert(0, typeDecl) - echo result.toStrLit() when isMainModule: class Animal of RootObj: