Overriding virtual interface methods is not possible
It should be allowed to override default implementations of an interface.
interface IFoo : Object {
public virtual void foo () {
}
}
class Bar : Object, IFoo {
public override void foo () {
}
}
void main () {
}
Although this currently results in an error.
test.vala:7.2-7.25: error: `Bar.foo': no suitable method found to override
public override void foo () {
^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 1 error(s), 0 warning(s)