Files
bear/examples/gen_debug3.vr
T
2026-08-25 14:45:19 +02:00

14 lines
201 B
Plaintext

// debug: trace function execution
fn first[T](arr) {
let x = arr[0]
println(x)
return x
}
fn main() {
let nums = [10, 20, 30]
let x = first(nums)
println("main got: ${x}")
}