if (delegate_type.delegate_symbol.has_target) {
Report.error (type_arg.source_reference, "Delegates with target are not supported as generic type arguments");
}
+ } else if (type_arg is ArrayType) {
+ Report.error (type_arg.source_reference, "Arrays are not supported as generic type arguments");
} else {
Report.error (type_arg.source_reference, "`%s' is not a supported generic type argument, use `?' to box value types".printf (type_arg.to_string ()));
}
asynchronous/variadic-invalid.test \
asynchronous/variadic-invalid-2.test \
asynchronous/yield.vala \
+ generics/arrays-not-supported.test \
generics/constructor-chain-up.vala \
generics/inference-static-function.vala \
generics/parameter-sizeof-initializer.vala \