IC: some progress

This commit is contained in:
Andreas Rumpf 2019-07-26 13:28:00 +02:00
commit f58d87cb43
5 changed files with 12 additions and 14 deletions

View file

@ -523,12 +523,6 @@ proc myOpen(graph: ModuleGraph; module: PSym): PPassContext =
if sfSystemModule in module.flags:
graph.systemModule = module
c.topLevelScope = openScope(c)
# don't be verbose unless the module belongs to the main package:
if module.owner.id == graph.config.mainPackageId:
graph.config.notes = graph.config.mainPackageNotes
else:
if graph.config.mainPackageNotes == {}: graph.config.mainPackageNotes = graph.config.notes
graph.config.notes = graph.config.foreignPackageNotes
result = c
proc isImportSystemStmt(g: ModuleGraph; n: PNode): bool =