Fix quaternion construction causing compiler crash

Previously, a construction of `quaternion(real=0, real=1, real=2,
real=3)` could crash the compiler.
This commit is contained in:
Feoramund
2025-06-01 12:51:38 -04:00
parent 405bf7cd55
commit 705ae3f343

View File

@@ -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;