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




I tried this too in my Windows machine(version 0.18) and it works like your machine.

I'll try to update my Vala at Debian machine and check this too.

Thanks,
Tal

Date: Mon, 17 Dec 2012 12:39:37 +0100
From: nyocurio gmail com
To: vala-list gnome org
Subject: 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

_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list                                         


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