summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorJulian Fondren <julian.fondren@gmail.com>2019-04-28 09:34:08 -0500
committerJulian Fondren <julian.fondren@gmail.com>2019-04-28 09:34:08 -0500
commit93edefbf5b5d8c99551b80b00655bf32056b186a (patch)
tree7bf2f869d7bbc25975bb0c47b1f5174235baedd7 /compiler
parentd8e0d6801bfda2f03c83f26f2a1d9901ff7485e4 (diff)
downloadNim-93edefbf5b5d8c99551b80b00655bf32056b186a.tar.gz
add indent to ambiguous-identifier output
Diffstat (limited to 'compiler')
-rw-r--r--compiler/lookups.nim2
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