v/vlib/v/checker/tests/use_deprecated_function_war...

21 lines
621 B
Plaintext

vlib/v/checker/tests/use_deprecated_function_warning.vv:12:2: error: function `xyz` has been deprecated
10 |
11 | fn main() {
12 | xyz()
| ~~~~~
13 | abc()
14 | }
vlib/v/checker/tests/use_deprecated_function_warning.vv:13:2: error: function `abc` has been deprecated; use foo2 instead
11 | fn main() {
12 | xyz()
13 | abc()
| ~~~~~
14 | }
15 |
vlib/v/checker/tests/use_deprecated_function_warning.vv:23:4: error: method `S1.m` has been deprecated; use bar instead
21 | fn method() {
22 | s := S1{}
23 | s.m()
| ~~~
24 | }