summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-02-28 23:23:17 +0100
committerAndreas Rumpf <rumpf_a@web.de>2016-02-28 23:23:17 +0100
commit7d7de36a91d07567de96150432dc5a44f818b48a (patch)
tree81e9f20dc881ce6b11a92e33ec0b982dfafbe234 /compiler
parent0baa1d995581ce9b6c00db1dc84a2d2383440c7f (diff)
downloadNim-7d7de36a91d07567de96150432dc5a44f818b48a.tar.gz
removed debug code
Diffstat (limited to 'compiler')
-rw-r--r--compiler/semstmts.nim2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/semstmts.nim b/compiler/semstmts.nim
index 0790fc30c..20bca4c90 100644
--- a/compiler/semstmts.nim
+++ b/compiler/semstmts.nim
@@ -665,8 +665,6 @@ proc typeSectionLeftSidePass(c: PContext, n: PNode) =
     var s: PSym
     if name.kind == nkDotExpr:
       s = qualifiedLookUp(c, name)
-      debug s
-      debug s.typ.skipTypes(abstractPtrs)
       if s.kind != skType or s.typ.skipTypes(abstractPtrs).kind != tyObject or tfPartial notin s.typ.skipTypes(abstractPtrs).flags:
         localError(name.info, "only .partial objects can be extended")
     else: