diff options
author | Julian Fondren <julian.fondren@gmail.com> | 2019-04-28 01:51:56 -0500 |
---|---|---|
committer | Julian Fondren <julian.fondren@gmail.com> | 2019-04-28 01:51:56 -0500 |
commit | d85de3cd57defdf51f031a368976c90b50f6b006 (patch) | |
tree | 6e17835d475db180da5dc690323596c6c768a39a | |
parent | 86b7de224a0f250ee05f49ec6b5b675a0de82f69 (diff) | |
download | Nim-d85de3cd57defdf51f031a368976c90b50f6b006.tar.gz |
re-include module in ambiguous identifier output
-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 926458080..51b453ca4 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 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) |