1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/v/parser/tests/closure_not_declared.out

8 lines
251 B
Plaintext

vlib/v/parser/tests/closure_not_declared.vv:4:9: error: `a` must be added to the capture list for the closure to be used inside
2 | a := 1
3 | f := fn () {
4 | print(a)
| ^
5 | }
6 | f()