| 1 | vlib/v/checker/tests/void_function_assign_to_string.vv:1:6: notice: unused parameter: `x` |
| 2 | 1 | fn x(x int, y int) { |
| 3 | | ^ |
| 4 | 2 | } |
| 5 | 3 | |
| 6 | vlib/v/checker/tests/void_function_assign_to_string.vv:1:13: notice: unused parameter: `y` |
| 7 | 1 | fn x(x int, y int) { |
| 8 | | ^ |
| 9 | 2 | } |
| 10 | 3 | |
| 11 | vlib/v/checker/tests/void_function_assign_to_string.vv:6:4: error: assignment mismatch: 1 variable but `x()` returns 0 values |
| 12 | 4 | fn main() { |
| 13 | 5 | mut a := '' |
| 14 | 6 | a = x(1, 2) // hello |
| 15 | | ^ |
| 16 | 7 | eprintln('a: ${a}') |
| 17 | 8 | } |
| 18 |