diff options
author | Araq <rumpf_a@web.de> | 2014-08-23 01:43:49 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-08-23 01:43:49 +0200 |
commit | 2f43fdb8379acd783beee58b1b2c8225a486a70c (patch) | |
tree | 3381ea28e5c2709bafeaf31eb8a7cc9b15c8b8b2 /compiler/semmacrosanity.nim | |
parent | fc0fda14ae1caf83d1b39029bebb702ff306b1e0 (diff) | |
download | Nim-2f43fdb8379acd783beee58b1b2c8225a486a70c.tar.gz |
renamefest
Diffstat (limited to 'compiler/semmacrosanity.nim')
-rw-r--r-- | compiler/semmacrosanity.nim | 2 |
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: |