[Vala] Override a "protected abstract method" as "private"
- From: Mike Massonnet <mmassonnet gmail com>
- To: vala-list gnome org
- Subject: [Vala] Override a "protected abstract method" as "private"
- Date: Sun, 19 Dec 2010 09:47:33 +0100
Hi,
I hope the subject is not too missleading :)
I have the following method in a base class:
protected abstract void method();
which I'm implemented in a sub-class like this:
private override void method () { }
There is a compilation issue with vala-git:
error: Private member `Xnp.TitleBarButton.draw_icon' cannot be marked
as override, virtual, or abstract
Why would this fail, as it currently works fine with Vala 0.10?
Kind Regards
--
Mike
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]