GNOME Bugzilla – Bug 592235
Expanding type of arguments/return type
Last modified: 2018-05-22 13:22:34 UTC
If superclass have method: public virtual MyClass fun(); It should be allowed to declare in subclass: public override MySubclass fun(); where MySubclass is descendant (implementation of interface, subclass or subinterface) of MyClass. With arguments it should be: - For in: The broader scope (superclasses etc.) - For out: The narrower scope as with return type - For ref: Not allowed Please not it is very similar to bug 575439
-- 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/41.