new len(openarray) implementation
This commit is contained in:
parent
8c993733b9
commit
0d8e6dda69
4 changed files with 22 additions and 5 deletions
|
|
@ -512,7 +512,7 @@ proc typeSectionRightSidePass(c: PContext, n: PNode) =
|
|||
# symbol lookup needs to be done here.
|
||||
openScope(c.tab)
|
||||
pushOwner(s)
|
||||
s.typ.kind = tyGenericBody
|
||||
if s.magic == mNone: s.typ.kind = tyGenericBody
|
||||
if s.typ.containerID != 0:
|
||||
InternalError(a.info, "semTypeSection: containerID")
|
||||
s.typ.containerID = s.typ.id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue