v2 / vlib / v / parser / tests / interface_duplicate_method.vv
5 lines · 4 sloc · 109 bytes · a50f2ca5e8e8512e74c2932384b1933d46a02be3
Raw
1interface Abc {}
2
3// duplicate normal method definitions on interface
4fn (a Abc) foo() {}
5fn (a Abc) foo() {}