vxx2 / vlib / v / checker / tests / fn_call_no_body.out
13 lines · 13 sloc · 386 bytes · 0c8ce3bcb9fd4a2e5bd5f991a5a07da976d780d7
Raw
1vlib/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 | }
8vlib/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