| 1 | vlib/v/checker/tests/unknown_method.vv:13:12: error: unknown method or field: `Test.sdd` |
| 2 | 11 | fn main() { |
| 3 | 12 | t := Test{} |
| 4 | 13 | println(t.sdd()) |
| 5 | | ~~~~~ |
| 6 | 14 | |
| 7 | 15 | foo := new_foo[int]() |
| 8 | vlib/v/checker/tests/unknown_method.vv:13:2: error: `println` can not print void expressions |
| 9 | 11 | fn main() { |
| 10 | 12 | t := Test{} |
| 11 | 13 | println(t.sdd()) |
| 12 | | ~~~~~~~~~~~~~~~~ |
| 13 | 14 | |
| 14 | 15 | foo := new_foo[int]() |
| 15 | vlib/v/checker/tests/unknown_method.vv:16:6: error: unknown method or field: `Foo[F].bar` |
| 16 | 14 | |
| 17 | 15 | foo := new_foo[int]() |
| 18 | 16 | foo.bar() |
| 19 | | ~~~~~ |
| 20 | 17 | } |
| 21 | |