| ... | ... | @@ -4147,12 +4147,6 @@ static TypeTableEntry *analyze_fn_call_expr(CodeGen *g, ImportTableEntry *import |
| 4147 | 4147 | add_node_error(g, fn_ref_expr, |
| 4148 | 4148 | buf_sprintf("no function named '%s' in '%s'", |
| 4149 | 4149 | buf_ptr(name), buf_ptr(&bare_struct_type->name))); |
| 4150 | | // still analyze the parameters, even though we don't know what to expect |
| 4151 | | for (int i = 0; i < node->data.fn_call_expr.params.length; i += 1) { |
| 4152 | | AstNode *child = node->data.fn_call_expr.params.at(i); |
| 4153 | | analyze_expression(g, import, context, nullptr, child); |
| 4154 | | } |
| 4155 | | |
| 4156 | 4150 | return g->builtin_types.entry_invalid; |
| 4157 | 4151 | } |
| 4158 | 4152 | } else if (struct_type->id == TypeTableEntryIdInvalid) { |