| 1 | vlib/v/checker/tests/fn_call_no_body.vv:8:9: error: cannot call a method that does not have a body |
| 2 | 6 | |
| 3 | 7 | fn main() { |
| 4 | 8 | Foo(0).f() |
| 5 | | ~~~ |
| 6 | 9 | f() |
| 7 | 10 | } |
| 8 | vlib/v/checker/tests/fn_call_no_body.vv:9:2: error: cannot call a function that does not have a body |
| 9 | 7 | fn main() { |
| 10 | 8 | Foo(0).f() |
| 11 | 9 | f() |
| 12 | | ~~~ |
| 13 | 10 | } |
| 14 |