diff options
author | Araq <rumpf_a@web.de> | 2018-12-22 23:13:05 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-12-22 23:13:05 +0100 |
commit | d407af565f164a2182e9d72fa69d1263cd7b3f9f (patch) | |
tree | aa9108f19f249691bfbf53cf259fd19fa5fa304e | |
parent | bdb67201b2713a4045167fd8feb407df98a43997 (diff) | |
download | Nim-d407af565f164a2182e9d72fa69d1263cd7b3f9f.tar.gz |
fixes #10024
-rw-r--r-- | compiler/passes.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/passes.nim b/compiler/passes.nim index 9302bb2e4..50fc13e1e 100644 --- a/compiler/passes.nim +++ b/compiler/passes.nim @@ -155,7 +155,7 @@ proc processModule*(graph: ModuleGraph; module: PSym, stream: PLLStream): bool { while true: openParsers(p, fileIdx, s, graph.cache, graph.config) - if module.owner == nil or module.owner.name.s != "stdlib": # graph.config.mainPackageId == module.owner.id: + if module.owner == nil or module.owner.name.s != "stdlib" or module.name.s == "distros": # XXX what about caching? no processing then? what if I change the # modules to include between compilation runs? we'd need to track that # in ROD files. I think we should enable this feature only |