Allow swizzle to take more arguments than the original array length

This commit is contained in:
gingerBill
2024-08-05 12:33:02 +01:00
parent a06cb8ba46
commit fd06be2243
2 changed files with 2 additions and 2 deletions

View File

@@ -2460,7 +2460,7 @@ gb_internal bool check_builtin_procedure(CheckerContext *c, Operand *operand, As
arg_count++;
}
if (arg_count > max_count) {
if (false && arg_count > max_count) {
error(call, "Too many 'swizzle' indices, %td > %td", arg_count, max_count);
return false;
} else if (arg_count < 2) {