Skip to content

Commit

Permalink
Fix missing update in sema_decls
Browse files Browse the repository at this point in the history
  • Loading branch information
lerno committed Sep 27, 2024
1 parent 41f1670 commit 70ea755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/sema_decls.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 70ea755

Please sign in to comment.