From 7e11ef79d67d000675e90ddf93fdb78d71cc695d Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Thu, 27 Apr 2017 16:15:41 -0400 Subject: zig test no longer requires a separate test_runner.o file See #298 --- src/ir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ir.cpp') diff --git a/src/ir.cpp b/src/ir.cpp index 94c5490b28..8026d6f985 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -10920,7 +10920,7 @@ static TypeTableEntry *ir_analyze_instruction_import(IrAnalyze *ira, IrInstructi } ImportTableEntry *target_import = add_source_file(ira->codegen, target_package, abs_full_path, import_code); - scan_decls(ira->codegen, target_import->decls_scope, target_import->root); + scan_import(ira->codegen, target_import); ConstExprValue *out_val = ir_build_const_from(ira, &import_instruction->base); out_val->data.x_import = target_import; -- cgit v1.2.3