The diamond inheritance prohibits overloading
@mpiechotka
Submitted by Maciej Marcin Piechotka Link to original bug (#733865)
Description
Created attachment 281869 Vala example
If class A is subclass of B and A, B implements I with method f, f cannot be overridden in subclass of C. It's possible to some extend workaround it in Vala by explicit method implementation (see attached code) but not for properties
Ideally it would follow the C# convention:
- If B contains the explicit implementation of f then call goes to explicit override as in C#
- If B does not contain it the explicit override call is either as in workaround (+ for speed) or just redirecting to correct method in parent class.
Attachment 281869, "Vala example":
test-iface.vala
Version: 0.25.x