diff options
Diffstat (limited to 'compiler/semcall.nim')
-rw-r--r-- | compiler/semcall.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semcall.nim b/compiler/semcall.nim index d2f878831..aa263fdee 100644 --- a/compiler/semcall.nim +++ b/compiler/semcall.nim @@ -215,7 +215,7 @@ proc presentFailedCandidates(c: PContext, n: PNode, errors: CandidateErrors): candidates.add typeToString(got) doAssert wanted != nil if got != nil: effectProblem(wanted, got, candidates) - of kUnknown: internalAssert(c.config, false) + of kUnknown: discard "do not break 'nim check'" candidates.add "\n" for diag in err.diagnostics: candidates.add(diag & "\n") |