From 70ea75532d250e1a60b577229332e63a3e35e980 Mon Sep 17 00:00:00 2001 From: Christoffer Lerno Date: Sat, 28 Sep 2024 00:16:36 +0200 Subject: [PATCH] Fix missing update in sema_decls --- src/compiler/sema_decls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/sema_decls.c b/src/compiler/sema_decls.c index 86ad0f155..48e283023 100755 --- a/src/compiler/sema_decls.c +++ b/src/compiler/sema_decls.c @@ -1837,7 +1837,7 @@ INLINE bool sema_analyse_operator_method(SemaContext *context, Type *parent_type if (!type_is_user_defined(parent_type)) { sema_error_at(context, method_find_overload_span(method), - "Only user-defined types support operator oveloading."); + "Only user-defined types support operator overloading."); return false; }