v/vlib/v/parser/tests/interface_duplicate_method.vv

5 lines
109 B
V

interface Abc {}
// duplicate normal method definitions on interface
fn (a Abc) foo() {}
fn (a Abc) foo() {}