Gitly
English
Русский
Español
日本語
中文
Português
Log in
Register
v2
/
vlib
/
v
/
parser
/
tests
/
closure_var_name_conflict.out
7
lines
·
7
sloc
·
253 bytes
·
c64c4907a2b8785115c2f7be2fd1ef3b946a4f9d
Raw
1
vlib/v/parser/tests/closure_var_name_conflict.vv:4:15: error: the parameter name `x` conflicts with the captured value name
2
2 | x := 1
3
3 |
4
4 | y := fn [x] (x int) {
5
| ^
6
5 | println(x)
7
6 | }
8