diff --git a/src/check_builtin.cpp b/src/check_builtin.cpp index f384cb7e1..fe3106162 100644 --- a/src/check_builtin.cpp +++ b/src/check_builtin.cpp @@ -2917,6 +2917,7 @@ gb_internal bool check_builtin_procedure(CheckerContext *c, Operand *operand, As if (fields_set[*index]) { error(field->field, "Previously assigned field: '%.*s'", LIT(name)); + return false; } fields_set[*index] = style;