diff --git a/frontend/test/resolution/testInteractive.cpp b/frontend/test/resolution/testInteractive.cpp index 11e68e310f69..0a6d1cf47c03 100644 --- a/frontend/test/resolution/testInteractive.cpp +++ b/frontend/test/resolution/testInteractive.cpp @@ -290,6 +290,7 @@ int main(int argc, char** argv) { // Run this query first to make the other output more understandable ctx->setDebugTraceFlag(false); + setupSearchPaths(ctx, enableStdLib, cmdLinePaths, files); typeForBuiltin(ctx, UniqueString::get(ctx, "int")); ctx->setDebugTraceFlag(trace); if (timing) ctx->beginQueryTimingTrace(timing); @@ -298,8 +299,6 @@ int main(int argc, char** argv) { flags.set(CompilerFlags::WARN_UNSTABLE, warnUnstable); setCompilerFlags(ctx, std::move(flags)); - setupSearchPaths(ctx, enableStdLib, cmdLinePaths, files); - std::set calledFns; for (auto p: files) {