| 1 | vlib/v/checker/tests/comptime_call_method.vv:3:13: notice: unused parameter: `s` |
| 2 | 1 | struct S1 {} |
| 3 | 2 | |
| 4 | 3 | fn (t S1) m(s string) int { |
| 5 | | ^ |
| 6 | 4 | return 7 |
| 7 | 5 | } |
| 8 | vlib/v/checker/tests/comptime_call_method.vv:10:14: error: undefined ident: `wrong` |
| 9 | 8 | s1 := S1{} |
| 10 | 9 | $for method in S1.methods { |
| 11 | 10 | s1.$method(wrong) |
| 12 | | ~~~~~ |
| 13 | 11 | } |
| 14 | 12 | } |
| 15 |