revert changes

This commit is contained in:
Andrii Riabushenko 2019-07-25 23:18:20 +01:00
commit 4c73139316
12 changed files with 43 additions and 80 deletions

View file

@ -526,7 +526,7 @@ proc semOverloadedCall(c: PContext, n, nOrig: PNode,
# this may be triggered, when the explain pragma is used
if errors.len > 0:
let (_, candidates) = presentFailedCandidates(c, n, errors)
message(c, n.info, hintUserRaw,
message(c.config, n.info, hintUserRaw,
"Non-matching candidates for " & renderTree(n) & "\n" &
candidates)
result = semResolvedCall(c, r, n, flags)