[Vala] can't put delegate in Gee.Map
- From: "Colombo, Alberto" <A Colombo kingston ac uk>
- To: "vala-list gnome org" <vala-list gnome org>
- Subject: [Vala] can't put delegate in Gee.Map
- Date: Thu, 16 Jul 2009 18:04:25 +0100
hello,
this little piece of code
delegate Object create_func();
class Factory : Object
{
Gee.Map< string, create_func?> map;
}
fails to compile with the following error:
Factory.vala:5.20-5.30: error: `create_func?' is not a supported generic type argument, use `?' to box
value types
Gee.Map< string, create_func?> map;
Using the vala 0.7.4. I think it used to work some time ago, but maybe I'm getting something completely
wrong...
thanks
alberto
This email has been scanned for all viruses by the MessageLabs Email
Security System.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]