diff options
author | Araq <rumpf_a@web.de> | 2013-08-31 10:03:41 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2013-08-31 10:03:41 +0200 |
commit | e698d6255baac6bca1ba283a29141b83363d163d (patch) | |
tree | 0a6fcfe167dd0bc54314438447e49aa40dafa992 /compiler | |
parent | 6cc06cd35dc3aab58eb78757e76d5b72e5646c52 (diff) | |
download | Nim-e698d6255baac6bca1ba283a29141b83363d163d.tar.gz |
fixes #563
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/semexprs.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/semexprs.nim b/compiler/semexprs.nim index 4d7ceffa9..d00490d2a 100644 --- a/compiler/semexprs.nim +++ b/compiler/semexprs.nim @@ -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) |