diff --git a/src/check_expr.cpp b/src/check_expr.cpp index e0014eb65..639e913d0 100644 --- a/src/check_expr.cpp +++ b/src/check_expr.cpp @@ -5212,7 +5212,7 @@ gb_internal void convert_to_typed(CheckerContext *c, Operand *operand, Type *tar operand->mode = Addressing_Invalid; convert_untyped_error(c, operand, target_type, true); if (count > 0) { - error_line("'%s' is a union which only excepts the following types:\n", type_str); + error_line("'%s' is a union which only accepts the following types:\n", type_str); error_line("\t"); for (i32 i = 0; i < count; i++) {