diff options
author | Jimmie Houchin <jlhouchin@gmail.com> | 2014-03-25 17:48:27 -0500 |
---|---|---|
committer | Jimmie Houchin <jlhouchin@gmail.com> | 2014-03-25 17:48:27 -0500 |
commit | c58ec376b6db3891924188f35d5c83578658048a (patch) | |
tree | 7780d8d631f0a0b5d291cf20216102f6f67452ce /compiler/semdata.nim | |
parent | 9e66d988e7fc1f33b11a0b93be484361390bd095 (diff) | |
download | Nim-c58ec376b6db3891924188f35d5c83578658048a.tar.gz |
fixed parens around getSysType arguments
Diffstat (limited to 'compiler/semdata.nim')
-rw-r--r-- | compiler/semdata.nim | 2 |
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, @[ |