summary refs log tree commit diff stats
path: root/compiler/semstmts.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2017-02-16 00:43:14 +0100
committerAraq <rumpf_a@web.de>2017-02-16 11:15:43 +0100
commit71026cec6e28d89677be0b5b3db4f8f79ee4bb3e (patch)
tree73bdf98c023f3f13b93ace22a63e1bb47035a213 /compiler/semstmts.nim
parent8de6c39f87be3afa0b997a80b9124e42e4741d73 (diff)
downloadNim-71026cec6e28d89677be0b5b3db4f8f79ee4bb3e.tar.gz
fixes #5383
Diffstat (limited to 'compiler/semstmts.nim')
-rw-r--r--compiler/semstmts.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/semstmts.nim b/compiler/semstmts.nim
index 25d4b3c74..e2b0f4b7a 100644
--- a/compiler/semstmts.nim
+++ b/compiler/semstmts.nim
@@ -1345,6 +1345,7 @@ proc semProcAux(c: PContext, n: PNode, kind: TSymKind,
 proc determineType(c: PContext, s: PSym) =
   if s.typ != nil: return
   #if s.magic != mNone: return
+  #if s.ast.isNil: return
   discard semProcAux(c, s.ast, s.kind, {}, stepDetermineType)
 
 proc semIterator(c: PContext, n: PNode): PNode =