diff options
author | zah <zahary@gmail.com> | 2014-03-26 11:39:59 +0200 |
---|---|---|
committer | zah <zahary@gmail.com> | 2014-03-26 11:39:59 +0200 |
commit | 6d0451ccceabe9eb5eb2bc54fa97992c902e3809 (patch) | |
tree | a0cb77ea85a4a27daecf4b9a74805fd85b372212 /compiler | |
parent | cdb4d83eadef07c3ba07b1a2d408548df1b3326b (diff) | |
parent | c58ec376b6db3891924188f35d5c83578658048a (diff) | |
download | Nim-6d0451ccceabe9eb5eb2bc54fa97992c902e3809.tar.gz |
Merge pull request #1036 from jlhouchin/devel
fixed parens around getSysType arguments
Diffstat (limited to 'compiler')
-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, @[ |