[Vala] Array as generic type not allowed? Can't ArrayList<string[]>
- From: Just Fill Bugs <mozbugbox yahoo com au>
- To: vala-list gnome org
- Subject: [Vala] Array as generic type not allowed? Can't ArrayList<string[]>
- Date: Fri, 31 Aug 2012 18:48:57 +0800
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?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]