| 1 | vlib/v/checker/tests/fn_call_arg_array_mismatch_err.vv:19:12: notice: unused parameter: `arr` |
| 2 | 17 | } |
| 3 | 18 | |
| 4 | 19 | fn bar(mut arr [][]int) { |
| 5 | | ~~~ |
| 6 | 20 | } |
| 7 | 21 | |
| 8 | vlib/v/checker/tests/fn_call_arg_array_mismatch_err.vv:7:36: error: cannot use `string` as `array` in argument 2 to `os.write_file_array` |
| 9 | 5 | |
| 10 | 6 | fn main() { |
| 11 | 7 | os.write_file_array(service_path, service_file) or { |
| 12 | | ~~~~~~~~~~~~ |
| 13 | 8 | eprintln('Error: write file service') |
| 14 | 9 | exit(1) |
| 15 | vlib/v/checker/tests/fn_call_arg_array_mismatch_err.vv:16:10: error: cannot use `&[]int` as `&[][]int` in argument 1 to `bar` |
| 16 | 14 | // dimension checking error when mut array is passed multiple times as args |
| 17 | 15 | fn foo(mut arr []int) { |
| 18 | 16 | bar(mut arr) |
| 19 | | ~~~ |
| 20 | 17 | } |
| 21 | 18 | |
| 22 | |