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 614686 - Unable to hide inherited methods in vapis
Unable to hide inherited methods in vapis
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Methods
0.8.x
Other Linux
: Normal minor
: ---
Assigned To: Vala maintainers
Vala maintainers
rejects-valid test-case
Depends on:
Blocks:
 
 
Reported: 2010-04-02 19:41 UTC by Evan Nemerson
Modified: 2018-04-24 19:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
VAPI which tries to hide an inherited method (actually, 2 of them) (38.54 KB, text/plain)
2010-04-02 19:43 UTC, Evan Nemerson
Details
test case (145 bytes, text/plain)
2010-04-02 19:46 UTC, Evan Nemerson
Details

Description Evan Nemerson 2010-04-02 19:41:37 UTC
When attempting to hide an inherited method in a vapi, the compiler completely ignores the `new' keyword.

Both with and without the `new', valac emits the "incompatible with base method" error, not the "Use the `new' keyword if hiding was intentional" error.
Comment 1 Evan Nemerson 2010-04-02 19:43:36 UTC
Created attachment 157771 [details]
VAPI which tries to hide an inherited method (actually, 2 of them)
Comment 2 Evan Nemerson 2010-04-02 19:46:00 UTC
Created attachment 157772 [details]
test case

Test case which attempts to call Mx.Table.add_actor from previously attached vapi.
Comment 3 Rico Tzschichholz 2018-04-24 19:01:58 UTC
This seems to be fixed some time ago.