Merge pull request #6929 from korvahkh/fix-union-typo

Fix typo in union error: excepts -> accepts
This commit is contained in:
gingerBill
2026-07-02 14:01:07 +01:00
committed by GitHub

View File

@@ -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++) {