| ... | ... | @@ -17100,12 +17100,7 @@ static Error ir_make_type_info_defs(IrAnalyze *ira, ConstExprValue *out_val, Sco |
| 17100 | 17100 | ensure_field_index(fn_def_val->type, "return_type", 7); |
| 17101 | 17101 | fn_def_fields[7].special = ConstValSpecialStatic; |
| 17102 | 17102 | fn_def_fields[7].type = ira->codegen->builtin_types.entry_type; |
| 17103 | | if (fn_entry->src_implicit_return_type != nullptr) |
| 17104 | | fn_def_fields[7].data.x_type = fn_entry->src_implicit_return_type; |
| 17105 | | else if (fn_entry->type_entry->data.fn.gen_return_type != nullptr) |
| 17106 | | fn_def_fields[7].data.x_type = fn_entry->type_entry->data.fn.gen_return_type; |
| 17107 | | else |
| 17108 | | fn_def_fields[7].data.x_type = fn_entry->type_entry->data.fn.fn_type_id.return_type; |
| 17103 | fn_def_fields[7].data.x_type = fn_entry->type_entry->data.fn.fn_type_id.return_type; |
| 17109 | 17104 | // arg_names: [][] const u8 |
| 17110 | 17105 | ensure_field_index(fn_def_val->type, "arg_names", 8); |
| 17111 | 17106 | size_t fn_arg_count = fn_entry->variable_list.length; |