This commit is contained in:
Anatoly Galiulin
2017-04-01 19:14:34 +07:00
committed by Andreas Rumpf
parent 7e351fc7fa
commit 5fdd03ad4d

View File

@@ -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)