Make methods not fully determined a warning.

This commit is contained in:
Christoffer Lerno
2026-01-29 11:42:58 +01:00
parent 084d5cbc94
commit 6c76a7ce4e

View File

@@ -5595,7 +5595,7 @@ CONTINUE:
Decl *decl = type->decl;
if (!decl->unit || decl->unit->module->stage < ANALYSIS_POST_REGISTER)
{
RETURN_SEMA_ERROR(expr, "Methods are not fully determined for %s at this point.", decl->name);
SEMA_WARN(expr, "Methods are not fully determined for %s at this point.", decl->name);
}
// Interface, prefer interface methods.
if (decl->decl_kind == DECL_INTERFACE)