diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-04-27 16:15:41 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-04-27 16:19:20 -0400 |
| commit | 7e11ef79d67d000675e90ddf93fdb78d71cc695d (patch) | |
| tree | 1a6bbe0cd8d5f8f24fd997341ced1e11b444b059 /src/ir.cpp | |
| parent | 7b0542d08b7e8e5ccbe81f495d641305b3b8a264 (diff) | |
| download | zig-7e11ef79d67d000675e90ddf93fdb78d71cc695d.tar.gz zig-7e11ef79d67d000675e90ddf93fdb78d71cc695d.zip | |
zig test no longer requires a separate test_runner.o file
See #298
Diffstat (limited to 'src/ir.cpp')
| -rw-r--r-- | src/ir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
