From 93edefbf5b5d8c99551b80b00655bf32056b186a Mon Sep 17 00:00:00 2001 From: Julian Fondren Date: Sun, 28 Apr 2019 09:34:08 -0500 Subject: [PATCH] add indent to ambiguous-identifier output --- compiler/lookups.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/lookups.nim b/compiler/lookups.nim index ddc3d7293..89883d452 100644 --- a/compiler/lookups.nim +++ b/compiler/lookups.nim @@ -257,7 +257,7 @@ proc errorUseQualifier*(c: PContext; info: TLineInfo; s: PSym) = while candidate != nil: if i == 0: err.add " --use one of the following:\n" else: err.add "\n" - err.add candidate.owner.name.s & "." & candidate.name.s + err.add " " & candidate.owner.name.s & "." & candidate.name.s err.add ": " & typeToString(candidate.typ) candidate = nextIdentIter(ti, c.importTable.symbols) inc i