Merge branch 'master' into newparser

This commit is contained in:
Araq 2013-05-07 18:44:24 +02:00
commit 9fc98cefda
18 changed files with 196 additions and 69 deletions

View file

@ -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:
#