From 4077f7d49cc52dda7610e03402f61a21a51acc0f Mon Sep 17 00:00:00 2001 From: Araq Date: Thu, 12 Mar 2015 16:04:44 +0100 Subject: [PATCH] fixes #1791 --- compiler/semexprs.nim | 7 +++---- tests/objects/tobjconstr.nim | 26 +++++++++++++------------- 2 files changed, 16 insertions(+), 17 deletions(-) diff --git a/compiler/semexprs.nim b/compiler/semexprs.nim index 3d2ba2568..d236687c3 100644 --- a/compiler/semexprs.nim +++ b/compiler/semexprs.nim @@ -1907,12 +1907,11 @@ proc semObjConstr(c: PContext, n: PNode, flags: TExprFlags): PNode = var ids = initIntSet() for i in 1..