| ... | @@ -5068,6 +5068,7 @@ fn instantiateGenericCall( | ... | @@ -5068,6 +5068,7 @@ fn instantiateGenericCall( |
| 5068 | }; | 5068 | }; |
| 5069 | const new_func_val = child_sema.resolveConstValue(&child_block, .unneeded, new_func_inst) catch unreachable; | 5069 | const new_func_val = child_sema.resolveConstValue(&child_block, .unneeded, new_func_inst) catch unreachable; |
| 5070 | const new_func = new_func_val.castTag(.function).?.data; | 5070 | const new_func = new_func_val.castTag(.function).?.data; |
| | 5071 | errdefer new_func.deinit(gpa); |
| 5071 | assert(new_func == new_module_func); | 5072 | assert(new_func == new_module_func); |
| 5072 | | 5073 | |
| 5073 | arg_i = 0; | 5074 | arg_i = 0; |