mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-01 10:52:14 +00:00
re-include module in ambiguous identifier output
This commit is contained in:
@@ -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 typeToString(candidate.typ)
|
||||
err.add candidate.owner.name.s & "." & typeToString(candidate.typ)
|
||||
candidate = nextIdentIter(ti, c.importTable.symbols)
|
||||
inc i
|
||||
localError(c.config, info, errGenerated, err)
|
||||
|
||||
Reference in New Issue
Block a user