From 5e119f776780c05ca2002ef692d7458801585bdc Mon Sep 17 00:00:00 2001 From: Zuhaitz Méndez Fernández de Aránguiz Date: Mon, 12 Jan 2026 21:17:36 +0000 Subject: lowercase types support. --- src/parser/parser_expr.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/parser/parser_expr.c') diff --git a/src/parser/parser_expr.c b/src/parser/parser_expr.c index b451a26..93a50e2 100644 --- a/src/parser/parser_expr.c +++ b/src/parser/parser_expr.c @@ -2855,7 +2855,6 @@ ASTNode *parse_expr_prec(ParserContext *ctx, Lexer *l, Precedence min_prec) call->call.arg_names = has_named ? arg_names : NULL; call->call.arg_count = arg_count; - // FIX: Propagate return type from function type info call->resolved_type = xstrdup("unknown"); if (lhs->type_info && lhs->type_info->kind == TYPE_FUNCTION && lhs->type_info->inner) { @@ -3037,7 +3036,6 @@ ASTNode *parse_expr_prec(ParserContext *ctx, Lexer *l, Precedence min_prec) node->type_info = get_field_type(ctx, lhs->type_info, node->member.field); - // FIX: If not a field, check if it is a method if (!node->type_info && lhs->type_info) { char *struct_name = NULL; -- cgit v1.2.3