fixed parens around getSysType arguments
This commit is contained in:
parent
9e66d988e7
commit
c58ec376b6
1 changed files with 1 additions and 1 deletions
|
|
@ -258,7 +258,7 @@ proc nMinusOne*(n: PNode): PNode =
|
||||||
|
|
||||||
# Remember to fix the procs below this one when you make changes!
|
# Remember to fix the procs below this one when you make changes!
|
||||||
proc makeRangeWithStaticExpr*(c: PContext, n: PNode): PType =
|
proc makeRangeWithStaticExpr*(c: PContext, n: PNode): PType =
|
||||||
let intType = getSysType tyInt
|
let intType = getSysType(tyInt)
|
||||||
result = newTypeS(tyRange, c)
|
result = newTypeS(tyRange, c)
|
||||||
result.sons = @[intType]
|
result.sons = @[intType]
|
||||||
result.n = newNode(nkRange, n.info, @[
|
result.n = newNode(nkRange, n.info, @[
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue