summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2019-07-19 17:09:11 +0200
committerAraq <rumpf_a@web.de>2019-07-19 17:09:11 +0200
commit313cc337f27ed6280b1021e7c1d2afb681044b94 (patch)
treef460083e2eb9532bb7d1b3136c1fff5e5468e149 /compiler
parentde69e1856f0cfb2c37256f874bb1f47ac2c91c93 (diff)
downloadNim-313cc337f27ed6280b1021e7c1d2afb681044b94.tar.gz
fixes a 'nim check' regression
Diffstat (limited to 'compiler')
-rw-r--r--compiler/semcall.nim2
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")