parent
7e351fc7fa
commit
5fdd03ad4d
1 changed files with 1 additions and 0 deletions
|
|
@ -256,6 +256,7 @@ proc resolveOverloads(c: PContext, n, orig: PNode,
|
|||
f.ident.s[0..f.ident.s.len-2]).withInfo(n.info)
|
||||
let callOp = newIdentNode(getIdent".=", n.info)
|
||||
n.sons[0..1] = [callOp, n[1], calleeName]
|
||||
excl(n.flags, nfDotSetter)
|
||||
orig.sons[0..1] = [callOp, orig[1], calleeName]
|
||||
pickBest(callOp)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue