On Thu, Jun 28, 2012 at 12:02 PM, David Boesner <
[email protected]> wrote:

>    public SuperClass(int data) {
>        this.data = data;
>        stdout.printf("3");
>        //base(); ////// Here is a segfault
> //////////////////////////////////////
>    }
>

You can't access "this" before you construct the instance with base(). Call
it before this.data = data.

-- 
www.debian.org - The Universal Operating System
_______________________________________________
vala-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to