Automatic dereferencing is removed (#20531)
This commit is contained in:
parent
b8def03575
commit
d954e698b3
8 changed files with 18 additions and 104 deletions
|
|
@ -932,12 +932,6 @@ proc resolveIndirectCall(c: PContext; n, nOrig: PNode;
|
|||
t: PType): TCandidate =
|
||||
initCandidate(c, result, t)
|
||||
matches(c, n, nOrig, result)
|
||||
if result.state != csMatch:
|
||||
# try to deref the first argument:
|
||||
if implicitDeref in c.features and canDeref(n):
|
||||
n[1] = n[1].tryDeref
|
||||
initCandidate(c, result, t)
|
||||
matches(c, n, nOrig, result)
|
||||
|
||||
proc bracketedMacro(n: PNode): PSym =
|
||||
if n.len >= 1 and n[0].kind == nkSym:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue