fixes a critical bug concerning a[^1] rewritings
This commit is contained in:
parent
b012d2f79e
commit
bd8e89774e
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ proc magicsAfterOverloadResolution(c: PContext, n: PNode,
|
|||
result = n.sons[1]
|
||||
else:
|
||||
result = newNodeIT(nkCall, n.info, getSysType(tyInt))
|
||||
result.add newSymNode(createMagic("-", mSubI), n.info)
|
||||
result.add newSymNode(getSysMagic("-", mSubI), n.info)
|
||||
result.add lenExprB
|
||||
result.add n.sons[1]
|
||||
of mPlugin:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue