mirror of
https://github.com/odin-lang/Odin.git
synced 2026-07-12 10:59:33 +00:00
Merge pull request #6929 from korvahkh/fix-union-typo
Fix typo in union error: excepts -> accepts
This commit is contained in:
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user