I tried to create a list of string[] but it's not allowed on vala version 0.16.1.

using Gee;
void main() {
    var strings_list = new ArrayList<string[]>();
}

gives:
error: `string[]' is not a supported generic type argument, use `?' to box value types

And adding "?" still give the same error.

Should generic support array as a type? Is it a bug?

_______________________________________________
vala-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to