Hello,

I didn't realize you could use a class name for a 'using className'
statement.

On Mon, Aug 16, 2010 at 7:01 AM, aecos...@gmail.com <aecos...@gmail.com>wrote:

> But, the weirdest thing is that it compiles fine after removing the
> ArrayList field.
>
> using Gee;
>
> class Foo : GLib.Object {
>    struct Sub {
>        public long initime;
>        public int duration;
>        //  public ArrayList<string> text;
>
>
>    }
>

long and int don't need any special code for destruction, but ArrayList
does.  I would guess that is the difference.

Rob
_______________________________________________
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to