make concept tests green again
This commit is contained in:
parent
6d4107b783
commit
d81568fcd5
1 changed files with 1 additions and 1 deletions
|
|
@ -189,7 +189,7 @@ proc presentFailedCandidates(c: PContext, n: PNode, errors: CandidateErrors):
|
||||||
if cond: candidates.add typeToString(got)
|
if cond: candidates.add typeToString(got)
|
||||||
if wanted != nil and got != nil:
|
if wanted != nil and got != nil:
|
||||||
effectProblem(wanted, got, candidates)
|
effectProblem(wanted, got, candidates)
|
||||||
candidates.add "\n"
|
if cond: candidates.add "\n"
|
||||||
elif err.unmatchedVarParam != 0 and err.unmatchedVarParam < n.len:
|
elif err.unmatchedVarParam != 0 and err.unmatchedVarParam < n.len:
|
||||||
add(candidates, "for a 'var' type a variable needs to be passed, but '" &
|
add(candidates, "for a 'var' type a variable needs to be passed, but '" &
|
||||||
renderNotLValue(n[err.unmatchedVarParam]) &
|
renderNotLValue(n[err.unmatchedVarParam]) &
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue