Support #reverse on #soa arrays

This commit is contained in:
gingerBill
2023-05-29 23:24:03 +01:00
parent 97490c6445
commit f07453d0ae
2 changed files with 32 additions and 13 deletions
-4
View File
@@ -1596,10 +1596,6 @@ gb_internal void check_range_stmt(CheckerContext *ctx, Ast *node, u32 mod_flags)
if (is_ptr) use_by_reference_for_value = true;
array_add(&vals, t->Struct.soa_elem);
array_add(&vals, t_int);
if (is_reverse) {
error(node, "#reverse for is not yet supported for #soa types");
}
}
break;
}