This commit is contained in:
Andreas Rumpf
2018-12-14 17:13:41 +01:00
parent 32c6b35d97
commit 675b6f0773
3 changed files with 10 additions and 1 deletions

View File

@@ -155,7 +155,7 @@ proc processModule*(graph: ModuleGraph; module: PSym, stream: PLLStream): bool {
while true:
openParsers(p, fileIdx, s, graph.cache, graph.config)
if sfSystemModule notin module.flags:
if graph.config.mainPackageId == module.owner.id:
# 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

View File

@@ -0,0 +1,8 @@
discard """
output: '''hallo'''
joinable: false
"""
# bug #9978
echo "hi".replace("i", "allo")

View File

@@ -0,0 +1 @@
--import: "strutils"