From 224b120745383153b6f560904d2b2e72a96a2bd2 Mon Sep 17 00:00:00 2001 From: Christoffer Lerno Date: Thu, 29 Jan 2026 20:07:42 +0100 Subject: [PATCH] Another fix error => warn --- src/compiler/sema_expr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/sema_expr.c b/src/compiler/sema_expr.c index c421a5c2f..f576cfd88 100644 --- a/src/compiler/sema_expr.c +++ b/src/compiler/sema_expr.c @@ -6627,7 +6627,7 @@ CHECK_DEEPER: ASSERT(type_is_user_defined(parent_type)); if (missing_ref && parent_type->decl->unit->module->stage < ANALYSIS_POST_REGISTER) { - RETURN_SEMA_ERROR(expr, "There might be a method '%s' for %s, but methods have not yet been completely registered, so analysis fails.", kw, type_quoted_error_string(parent->type)); + SEMA_WARN(expr, "There might be a method '%s' for %s, but methods have not yet been completely registered, so analysis fails.", kw, type_quoted_error_string(parent->type)); } if (parent_type->type_kind == TYPE_INTERFACE) {