From e698d6255baac6bca1ba283a29141b83363d163d Mon Sep 17 00:00:00 2001 From: Araq Date: Sat, 31 Aug 2013 10:03:41 +0200 Subject: fixes #563 --- compiler/semexprs.nim | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler') 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) -- cgit 1.4.1-2-gfad0