After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 592235 - Expanding type of arguments/return type
Expanding type of arguments/return type
Status: RESOLVED OBSOLETE
Product: vala
Classification: Core
Component: Objects
unspecified
Other All
: Normal enhancement
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2009-08-18 15:59 UTC by Maciej (Matthew) Piechotka
Modified: 2018-05-22 13:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Maciej (Matthew) Piechotka 2009-08-18 15:59:02 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
Comment 1 GNOME Infrastructure Team 2018-05-22 13:22:34 UTC
-- 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.