Merge branch 'master' into newparser
This commit is contained in:
commit
9fc98cefda
18 changed files with 196 additions and 69 deletions
|
|
@ -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:
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue