| 1 | vlib/v/checker/tests/passing_expr_to_fn_expecting_voidptr.vv:1:13: notice: unused parameter: `s` |
| 2 | 1 | fn myprintf(s string, x voidptr) { |
| 3 | | ^ |
| 4 | 2 | } |
| 5 | 3 | |
| 6 | vlib/v/checker/tests/passing_expr_to_fn_expecting_voidptr.vv:1:23: notice: unused parameter: `x` |
| 7 | 1 | fn myprintf(s string, x voidptr) { |
| 8 | | ^ |
| 9 | 2 | } |
| 10 | 3 | |
| 11 | vlib/v/checker/tests/passing_expr_to_fn_expecting_voidptr.vv:4:23: error: expression cannot be passed as `voidptr` |
| 12 | 2 | } |
| 13 | 3 | |
| 14 | 4 | myprintf('%02.02f\n', 1.1) |
| 15 | | ~~~ |
| 16 |