diff options
author | Julian Fondren <julian.fondren@gmail.com> | 2019-04-28 09:34:08 -0500 |
---|---|---|
committer | Julian Fondren <julian.fondren@gmail.com> | 2019-04-28 09:34:08 -0500 |
commit | 93edefbf5b5d8c99551b80b00655bf32056b186a (patch) | |
tree | 7bf2f869d7bbc25975bb0c47b1f5174235baedd7 /compiler | |
parent | d8e0d6801bfda2f03c83f26f2a1d9901ff7485e4 (diff) | |
download | Nim-93edefbf5b5d8c99551b80b00655bf32056b186a.tar.gz |
add indent to ambiguous-identifier output
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/lookups.nim | 2 |
1 files changed, 1 insertions, 1 deletions
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 |