[Vala] Override a "protected abstract method" as "private"



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]