diff options
Diffstat (limited to 'compiler/sem.nim')
-rw-r--r-- | compiler/sem.nim | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/sem.nim b/compiler/sem.nim index e33170553..b857f7e23 100644 --- a/compiler/sem.nim +++ b/compiler/sem.nim @@ -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 = |