v/vlib/v/parser/tests/closure_not_declared.vv

9 lines
63 B
V

fn my_fn() {
a := 1
f := fn () {
print(a)
}
f()
_ = a
}