diff options
author | Araq <rumpf_a@web.de> | 2014-03-26 20:31:29 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-03-26 20:31:29 +0100 |
commit | a1e97ad4a4fef8004d833853828a4ea7da3958c3 (patch) | |
tree | 4bdc59f04a1fc64d59296dc444e66589b475f4f1 /compiler/semdata.nim | |
parent | 78cc4de9a1d8db66d997e5ba02c6ce208637d70c (diff) | |
parent | 783087fd57e265c06e5081073391058c0e28864f (diff) | |
download | Nim-a1e97ad4a4fef8004d833853828a4ea7da3958c3.tar.gz |
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
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, @[ |