make tests green again
This commit is contained in:
parent
3181f3b04c
commit
96b7c2481c
2 changed files with 42 additions and 40 deletions
|
|
@ -238,7 +238,6 @@ proc resolveOverloads(c: PContext, n, orig: PNode,
|
|||
|
||||
# leave the op head symbol empty,
|
||||
# we are going to try multiple variants
|
||||
errors = nil
|
||||
n.sons[0..1] = [nil, n[1], f]
|
||||
orig.sons[0..1] = [nil, orig[1], f]
|
||||
|
||||
|
|
@ -255,7 +254,6 @@ proc resolveOverloads(c: PContext, n, orig: PNode,
|
|||
tryOp "."
|
||||
|
||||
elif nfDotSetter in n.flags and f.kind == nkIdent and n.len == 3:
|
||||
errors = nil
|
||||
# we need to strip away the trailing '=' here:
|
||||
let calleeName = newIdentNode(getIdent(f.ident.s[0..f.ident.s.len-2]), n.info)
|
||||
let callOp = newIdentNode(getIdent".=", n.info)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue