v2 / vlib / v / checker / tests / for_in_value_redefinition.out
7 lines · 7 sloc · 227 bytes · e2e5cf8db56f3562c7baa735061690be936bdf3e
Raw
1vlib/v/checker/tests/for_in_value_redefinition.vv:4:8: error: redefinition of value iteration variable `value`
2 2 | value := 2
3 3 |
4 4 | for _, value in arr {
5 | ~~~~~
6 5 | println(value)
7 6 | }
8