diff options
author | Araq <rumpf_a@web.de> | 2019-07-19 17:09:11 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2019-07-19 17:09:11 +0200 |
commit | 313cc337f27ed6280b1021e7c1d2afb681044b94 (patch) | |
tree | f460083e2eb9532bb7d1b3136c1fff5e5468e149 /compiler | |
parent | de69e1856f0cfb2c37256f874bb1f47ac2c91c93 (diff) | |
download | Nim-313cc337f27ed6280b1021e7c1d2afb681044b94.tar.gz |
fixes a 'nim check' regression
Diffstat (limited to 'compiler')
-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") |