| 1 | vlib/v/checker/tests/no_interface_instantiation_b.vv:3:10: notice: unused parameter: `s` |
| 2 | 1 | interface Speaker {} |
| 3 | 2 | |
| 4 | 3 | fn my_fn(s Speaker) {} |
| 5 | | ^ |
| 6 | 4 | |
| 7 | 5 | fn main() { |
| 8 | vlib/v/checker/tests/no_interface_instantiation_b.vv:6:2: error: expected 1 argument, but got 0 |
| 9 | 4 | |
| 10 | 5 | fn main() { |
| 11 | 6 | my_fn() |
| 12 | | ~~~~~~~ |
| 13 | 7 | } |
| 14 | Details: have () |
| 15 | want (main.Speaker) |
| 16 |