| 1 | vlib/v/checker/tests/unimplemented_interface_a.vv:7:8: notice: unused parameter: `a` |
| 2 | 5 | struct Cat {} |
| 3 | 6 | |
| 4 | 7 | fn foo(a Animal) {} |
| 5 | | ^ |
| 6 | 8 | |
| 7 | 9 | fn main() { |
| 8 | vlib/v/checker/tests/unimplemented_interface_a.vv:10:6: error: `Cat` doesn't implement method `name` of interface `Animal` |
| 9 | 8 | |
| 10 | 9 | fn main() { |
| 11 | 10 | foo(Cat{}) |
| 12 | | ~~~~~ |
| 13 | 11 | } |
| 14 |