Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
This commit is contained in:
commit
a1e97ad4a4
6 changed files with 310 additions and 158 deletions
|
|
@ -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, @[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue