From bc29094af97d27be2d24f6219388f382a4f1db3d Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Tue, 26 Mar 2019 09:51:19 +0100 Subject: [PATCH] fixes 'nimble install nimble' problems --- compiler/passes.nim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/compiler/passes.nim b/compiler/passes.nim index 8c302ce097..fb51b3f73a 100644 --- a/compiler/passes.nim +++ b/compiler/passes.nim @@ -160,8 +160,9 @@ proc processModule*(graph: ModuleGraph; module: PSym, stream: PLLStream): bool { # modules to include between compilation runs? we'd need to track that # in ROD files. I think we should enable this feature only # for the interactive mode. - processImplicits graph, graph.config.implicitImports, nkImportStmt, a, module - processImplicits graph, graph.config.implicitIncludes, nkIncludeStmt, a, module + if module.name.s != "nimscriptapi": + processImplicits graph, graph.config.implicitImports, nkImportStmt, a, module + processImplicits graph, graph.config.implicitIncludes, nkIncludeStmt, a, module while true: if graph.stopCompile(): break