GNOME Bugzilla – Bug 733865
The diamond inheritance prohibits overloading
Last modified: 2018-05-22 15:13:19 UTC
Created attachment 281869 [details] 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.
Created attachment 281870 [details] C# example
Vala has explicit interface method implementation. So the problem is left only for properties?
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/vala/issues/462.