diff options
Diffstat (limited to 'compiler/semstmts.nim')
-rw-r--r-- | compiler/semstmts.nim | 3 |
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: # |