This commit is contained in:
agra
2026-02-18 13:08:35 +02:00
parent 3c0912a936
commit 2f5eb84259
4 changed files with 267 additions and 15 deletions

View File

@@ -100,7 +100,7 @@ promoted-x: 1.000000
promoted-data0: 1.000000
arr[2]: 30
arr.len: 5
arr-assign: [1, 99, 0]
arr-assign: [1, 99, 3]
sl[0]: 1
sl.len: 5
sl-assign: [10, 55, 0]
@@ -258,4 +258,26 @@ for-struct: Point{x: 3, y: 4}
=== 19. Local Fn Return ===
local-struct: 42 99
local-enum: .circle(2.500000)
=== 20. UFCS Return Type ===
direct: 7
ufcs: 7
=== 21. Type-Named Vars ===
s2: 42
s2+1: 43
=== 22. If-Struct ===
if-struct: 10 20
else-struct: 30 40
=== 23. Nested Arrays ===
m[0][0]: 1
m[0][2]: 3
m[1][0]: 4
m[1][2]: 6
=== 24. String Comparison ===
str-eq: true
str-neq: true
str-diff: false
empty-eq: true
=== 25. Array Loop Mutation ===
loop-fill: 1 2 3 4
compound: 13
=== DONE ===