On Sat, 2008-11-29 at 23:28 +0000, fdsdœ Fsfsd wrote:
> I've got this error message :
> Gee.List' is not a class, struct, or error code
> 
> with the following code :
> void test() {
>     Gee.List<string> list = null;
>     
>     list = new Gee.List<string>();
> }

Gee.List is an interface, and interfaces can't be instantiated. Try

    list = new Gee.ArrayList<string> ();

Jürg


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

Reply via email to