vlib/v/checker/tests/method_call_with_empty_struct_init.vv:5:16: notice: unused parameter: `x` 3 | } 4 | 5 | fn (s Abc) abc(x int, param Abc) { | ^ 6 | } 7 | vlib/v/checker/tests/method_call_with_empty_struct_init.vv:5:23: notice: unused parameter: `param` 3 | } 4 | 5 | fn (s Abc) abc(x int, param Abc) { | ~~~~~ 6 | } 7 | vlib/v/checker/tests/method_call_with_empty_struct_init.vv:10:11: error: `{}` can not be used for initialising empty structs any more. Use `Abc{}` instead. 8 | fn main() { 9 | s := Abc{} 10 | s.abc(0, {}) | ~~ 11 | } vlib/v/checker/tests/method_call_with_empty_struct_init.vv:10:11: error: `map{ }` (no value) used as value in argument 2 to `Abc.abc` 8 | fn main() { 9 | s := Abc{} 10 | s.abc(0, {}) | ~~ 11 | }