From 2f43fdb8379acd783beee58b1b2c8225a486a70c Mon Sep 17 00:00:00 2001 From: Araq Date: Sat, 23 Aug 2014 01:43:49 +0200 Subject: renamefest --- compiler/semmacrosanity.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/semmacrosanity.nim') 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: -- cgit 1.4.1-2-gfad0