feat: implement M3 aggregate types and iteration

This commit is contained in:
2026-08-16 08:49:50 +09:00
parent 57b47a574a
commit 8e6a409637
32 changed files with 1729 additions and 94 deletions
+9
View File
@@ -0,0 +1,9 @@
unit m3_array;
fn main() -> i32 {
let a: [3]i32 = [1, 2, 3];
let s: []i32 = a[..];
let t: []i32 = s[1..3];
if a[0] + s[1] + t[0] == 5 and s.n == 3 { return 0; }
return 1;
}