mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
8 lines
213 B
Plaintext
8 lines
213 B
Plaintext
vlib/v/parser/tests/closure_not_used.vv:3:11: warning: unused variable: `a`
|
|
1 | fn my_fn() {
|
|
2 | a := 1
|
|
3 | f := fn [a] () {
|
|
| ^
|
|
4 | print("hello")
|
|
5 | }
|