summary refs log tree commit diff stats
path: root/compiler/semmacrosanity.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-08-23 01:43:49 +0200
committerAraq <rumpf_a@web.de>2014-08-23 01:43:49 +0200
commit2f43fdb8379acd783beee58b1b2c8225a486a70c (patch)
tree3381ea28e5c2709bafeaf31eb8a7cc9b15c8b8b2 /compiler/semmacrosanity.nim
parentfc0fda14ae1caf83d1b39029bebb702ff306b1e0 (diff)
downloadNim-2f43fdb8379acd783beee58b1b2c8225a486a70c.tar.gz
renamefest
Diffstat (limited to 'compiler/semmacrosanity.nim')
-rw-r--r--compiler/semmacrosanity.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semmacrosanity.nim b/compiler/semmacrosanity.nim
index 1bece95c2..8106aa179 100644
--- a/compiler/semmacrosanity.nim
+++ b/compiler/semmacrosanity.nim
@@ -55,7 +55,7 @@ proc annotateType*(n: PNode, t: PType) =
     else:
       globalError(n.info, "() must have an object or tuple type")
   of nkBracket:
-    if x.kind in {tyArrayConstr, tyArray, tySequence, tyOpenarray}:
+    if x.kind in {tyArrayConstr, tyArray, tySequence, tyOpenArray}:
       n.typ = t
       for m in n: annotateType(m, x.elemType)
     else: