Nimsuggest now shows gotodef for y in from x import y (#10023)

This commit is contained in:
Neelesh Chandola
2018-12-19 00:21:14 +05:30
committed by Andreas Rumpf
parent 8f4befe368
commit 2acefee044

View File

@@ -92,6 +92,7 @@ proc importSymbol(c: PContext, n: PNode, fromMod: PSym) =
rawImportSymbol(c, e)
e = nextIdentIter(it, fromMod.tab)
else: rawImportSymbol(c, s)
suggestSym(c.config, n.info, s, c.graph.usageSym, false)
proc importAllSymbolsExcept(c: PContext, fromMod: PSym, exceptSet: IntSet) =
var i: TTabIter