summary refs log tree commit diff stats
path: root/compiler/semstmts.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-05-07 18:44:24 +0200
committerAraq <rumpf_a@web.de>2013-05-07 18:44:24 +0200
commit9fc98cefda91d7199e46d271a466a07867354d91 (patch)
tree4e8abce285ad9f5c145ec9f660966f88604ab422 /compiler/semstmts.nim
parentd97504d6ef7ad6c30adc5cd64872f600fd4ec14d (diff)
parentf0be93bfa2cb49ab88595478efb4457391d49a31 (diff)
downloadNim-9fc98cefda91d7199e46d271a466a07867354d91.tar.gz
Merge branch 'master' into newparser
Diffstat (limited to 'compiler/semstmts.nim')
-rw-r--r--compiler/semstmts.nim3
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/semstmts.nim b/compiler/semstmts.nim
index f19b79c6a..2c3adfeda 100644
--- a/compiler/semstmts.nim
+++ b/compiler/semstmts.nim
@@ -693,9 +693,6 @@ proc typeSectionRightSidePass(c: PContext, n: PNode) =
       openScope(c.tab)
       pushOwner(s)
       if s.magic == mNone: s.typ.kind = tyGenericBody
-      if s.typ.containerID != 0: 
-        InternalError(a.info, "semTypeSection: containerID")
-      s.typ.containerID = s.typ.id
       # XXX for generic type aliases this is not correct! We need the
       # underlying Id really: 
       #