From c58ec376b6db3891924188f35d5c83578658048a Mon Sep 17 00:00:00 2001 From: Jimmie Houchin Date: Tue, 25 Mar 2014 17:48:27 -0500 Subject: [PATCH] fixed parens around getSysType arguments --- compiler/semdata.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/semdata.nim b/compiler/semdata.nim index 5ec66b51cf..b46d83a92b 100644 --- a/compiler/semdata.nim +++ b/compiler/semdata.nim @@ -258,7 +258,7 @@ proc nMinusOne*(n: PNode): PNode = # Remember to fix the procs below this one when you make changes! proc makeRangeWithStaticExpr*(c: PContext, n: PNode): PType = - let intType = getSysType tyInt + let intType = getSysType(tyInt) result = newTypeS(tyRange, c) result.sons = @[intType] result.n = newNode(nkRange, n.info, @[