better nimsuggest support

This commit is contained in:
Araq 2015-11-03 14:52:23 +01:00
commit ae60f4ae76
2 changed files with 5 additions and 4 deletions

View file

@ -163,6 +163,7 @@ proc myImportModule(c: PContext, n: PNode): PSym =
localError(n.info, errGenerated, "A module cannot import itself")
if sfDeprecated in result.flags:
message(n.info, warnDeprecated, result.name.s)
#suggestSym(n.info, result, false)
proc evalImport(c: PContext, n: PNode): PNode =
result = n