summary refs log tree commit diff stats
path: root/compiler/semfields.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2015-01-30 01:56:03 +0100
committerAraq <rumpf_a@web.de>2015-01-30 03:04:45 +0100
commitfe30ec83e22f14ee65f1a5225152e01a3713b2c4 (patch)
treebce984e85865ec2ddf442ffe8e48d07c13ac2fd6 /compiler/semfields.nim
parenta9706dcfa2402c17aefc710e9ac925fcac8873ae (diff)
downloadNim-fe30ec83e22f14ee65f1a5225152e01a3713b2c4.tar.gz
nimsuggest improvements
Diffstat (limited to 'compiler/semfields.nim')
-rw-r--r--compiler/semfields.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semfields.nim b/compiler/semfields.nim
index f02c542ed..823bef225 100644
--- a/compiler/semfields.nim
+++ b/compiler/semfields.nim
@@ -98,7 +98,7 @@ proc semForObjectFields(c: TFieldsCtx, typ, forLoop, father: PNode) =
   of nkRecList:
     for t in items(typ): semForObjectFields(c, t, forLoop, father)
   else:
-    illFormedAst(typ)
+    illFormedAstLocal(typ)
 
 proc semForFields(c: PContext, n: PNode, m: TMagic): PNode =
   # so that 'break' etc. work as expected, we produce