Re: [Vala] Defining new virtual signal is possible, but overring it isn't.



2012/12/17 Tal Hadad <tal_hd hotmail com>

public class Foo : GLib.Object {
    public virtual void func() {
    }

    internal static void bug () {
        new Bar ();
    }
}
public class Bar : Foo {
    public override void func() {
    }
}


I just tried compiling this with Vala 0.18 too
and it works for me. Maybe you should upgrade
your valac?

 - Jonas


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]