This commit is contained in:
Araq 2013-08-31 10:03:41 +02:00
commit e698d6255b
2 changed files with 15 additions and 0 deletions

View file

@ -1672,6 +1672,7 @@ proc semObjConstr(c: PContext, n: PNode, flags: TExprFlags): PNode =
var
check: PNode = nil
f: PSym
t = objType
while true:
check = nil
f = lookupInRecordAndBuildCheck(c, it, t.n, id, check)