Bunch of updates

This commit is contained in:
allexanderbergmns
2026-08-24 18:24:58 +02:00
parent 50712c5f17
commit 4b7a2f4c67
10 changed files with 626 additions and 22 deletions
+19
View File
@@ -0,0 +1,19 @@
// maps_debug.vr — debug map keys function
fn main() {
let person = { "name": "alice", "age": 30 }
let k = keys(person)
let n = len(k)
println("len(k) = 2")
if n > 0 {
println("key0")
}
if n > 1 {
println("key1")
}
assert n == 2
println("keys OK")
}