v/vlib/v/parser/tests/closure_not_used.vv

8 lines
66 B
V

fn my_fn() {
a := 1
f := fn [a] () {
print("hello")
}
f()
}