fixes #2336
This commit is contained in:
parent
ee99771afa
commit
1f02a7ace3
1 changed files with 2 additions and 1 deletions
|
|
@ -412,7 +412,8 @@ proc genInfixCall(p: BProc, le, ri: PNode, d: var TLoc) =
|
|||
else:
|
||||
var pl: PRope = nil
|
||||
#var param = typ.n.sons[1].sym
|
||||
app(pl, genThisArg(p, ri, 1, typ))
|
||||
if 1 < ri.len:
|
||||
app(pl, genThisArg(p, ri, 1, typ))
|
||||
app(pl, op.r)
|
||||
var params: PRope
|
||||
for i in countup(2, length - 1):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue