diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-07-09 22:06:47 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-09 22:06:47 -0400 |
| commit | ccef60a64033a25dbe2351c27f28257546b2ae5b (patch) | |
| tree | 67390c7e43f9852cf3786f2eed35ebf04e15510d /src/ir.cpp | |
| parent | 10cc49db1ca1f9b3ac63277c0742e05f6412f3c6 (diff) | |
| parent | c89aac85c440ea4cbccf1abdbd6acf84a33077e3 (diff) | |
| download | zig-ccef60a64033a25dbe2351c27f28257546b2ae5b.tar.gz zig-ccef60a64033a25dbe2351c27f28257546b2ae5b.zip | |
Merge pull request #1198 from ziglang/m-n-threading
M:N threading
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 505a32247e..2dc6ddad2c 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -13278,7 +13278,7 @@ static TypeTableEntry *ir_analyze_instruction_call(IrAnalyze *ira, IrInstruction FnTableEntry *fn_table_entry = fn_ref->value.data.x_bound_fn.fn; IrInstruction *first_arg_ptr = fn_ref->value.data.x_bound_fn.first_arg; return ir_analyze_fn_call(ira, call_instruction, fn_table_entry, fn_table_entry->type_entry, - nullptr, first_arg_ptr, is_comptime, call_instruction->fn_inline); + fn_ref, first_arg_ptr, is_comptime, call_instruction->fn_inline); } else { ir_add_error_node(ira, fn_ref->source_node, buf_sprintf("type '%s' not a function", buf_ptr(&fn_ref->value.type->name))); |
