mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
8 lines
253 B
Plaintext
8 lines
253 B
Plaintext
vlib/v/parser/tests/closure_var_name_conflict.vv:4:15: error: the parameter name `x` conflicts with the captured value name
|
|
2 | x := 1
|
|
3 |
|
|
4 | y := fn [x] (x int) {
|
|
| ^
|
|
5 | println(x)
|
|
6 | }
|