diff options
| author | gingerBill <bill@gingerbill.org> | 2023-05-29 23:24:03 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-05-29 23:24:03 +0100 |
| commit | f07453d0aee436ba8c0f81cedfde5db3a7bbe1b4 (patch) | |
| tree | 4314776543e88f46c040e8bb7296571bbd37e683 /src/check_stmt.cpp | |
| parent | 97490c6445cb3ba85f470e64e6ed6d24394c421a (diff) | |
Support `#reverse` on `#soa` arrays
Diffstat (limited to 'src/check_stmt.cpp')
| -rw-r--r-- | src/check_stmt.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/check_stmt.cpp b/src/check_stmt.cpp index c64de40c7..73aaa1c37 100644 --- a/src/check_stmt.cpp +++ b/src/check_stmt.cpp @@ -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; } |