remove nosinks hacks from compiler (#21469)
This commit is contained in:
parent
6994e1b1d7
commit
d950e5f3a8
9 changed files with 13 additions and 13 deletions
|
|
@ -601,7 +601,7 @@ proc tryDeref(n: PNode): PNode =
|
|||
result.add n
|
||||
|
||||
proc semOverloadedCall(c: PContext, n, nOrig: PNode,
|
||||
filter: TSymKinds, flags: TExprFlags): PNode {.nosinks.} =
|
||||
filter: TSymKinds, flags: TExprFlags): PNode =
|
||||
var errors: CandidateErrors = @[] # if efExplain in flags: @[] else: nil
|
||||
var r = resolveOverloads(c, n, nOrig, filter, flags, errors, efExplain in flags)
|
||||
if r.state == csMatch:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue