containerID is no longer needed for generics
This commit is contained in:
parent
a668b4ffb5
commit
0774af169b
6 changed files with 4 additions and 19 deletions
|
|
@ -532,9 +532,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