fixes #4699
This commit is contained in:
parent
4077050a42
commit
901e3dbb77
1 changed files with 1 additions and 1 deletions
|
|
@ -2125,7 +2125,7 @@ proc semObjConstr(c: PContext, n: PNode, flags: TExprFlags): PNode =
|
||||||
while true:
|
while true:
|
||||||
checkInitialized(objType.n, ids, n.info)
|
checkInitialized(objType.n, ids, n.info)
|
||||||
if objType.sons[0] == nil: break
|
if objType.sons[0] == nil: break
|
||||||
objType = skipTypes(objType.sons[0], {tyGenericInst})
|
objType = skipTypes(objType.sons[0], skipPtrs)
|
||||||
|
|
||||||
proc semBlock(c: PContext, n: PNode): PNode =
|
proc semBlock(c: PContext, n: PNode): PNode =
|
||||||
result = n
|
result = n
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue