summary refs log tree commit diff stats
path: root/compiler/semdata.nim
diff options
context:
space:
mode:
authorJimmie Houchin <jlhouchin@gmail.com>2014-03-25 17:48:27 -0500
committerJimmie Houchin <jlhouchin@gmail.com>2014-03-25 17:48:27 -0500
commitc58ec376b6db3891924188f35d5c83578658048a (patch)
tree7780d8d631f0a0b5d291cf20216102f6f67452ce /compiler/semdata.nim
parent9e66d988e7fc1f33b11a0b93be484361390bd095 (diff)
downloadNim-c58ec376b6db3891924188f35d5c83578658048a.tar.gz
fixed parens around getSysType arguments
Diffstat (limited to 'compiler/semdata.nim')
-rw-r--r--compiler/semdata.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semdata.nim b/compiler/semdata.nim
index 5ec66b51c..b46d83a92 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, @[