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 768225 - No error when try to inherit final class
No error when try to inherit final class
Status: RESOLVED OBSOLETE
Product: vala
Classification: Core
Component: Code Generator
unspecified
Other All
: Normal normal
: 1.0
Assigned To: Vala maintainers
Vala maintainers
Depends on: 669541
Blocks:
 
 
Reported: 2016-06-30 06:17 UTC by Ondřej Tůma
Modified: 2018-05-22 15:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ondřej Tůma 2016-06-30 06:17:50 UTC
Vala don't report it's error message when programmer try to inherit "final" class.

example:

public class MyMenu : Menu {
    public MyMenu(){
        append ("Item label", "app.my-action");
    }
}

Program compilation fail on C compiler, with error that GMenuClass is not defined. This is side problem of: https://bugzilla.gnome.org/show_bug.cgi?id=724347 resp. https://bugzilla.gnome.org/show_bug.cgi?id=669541

Some other informations in discussion: https://mail.gnome.org/archives/vala-list/2016-June/msg00077.html
Comment 1 GNOME Infrastructure Team 2018-05-22 15:36:56 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/545.