Am 01.04.2010 18:11, Бака Гайдзин wrote:
> Hi.
>
> With new release I get this error, when I'm trying to use HashTable
> method "insert":
>
> HashTable table = new HashTable<string, string>(str_hash, str_equal);
> table.insert("some string", "some_string");
Either write
HashTable<string, string> table = new HashTable<string, string>(str_hash,
str_equal);
or
var table = new HashTable<string, string>(str_hash, str_equal);
> There is the point in release notes:
>
>> Infer type arguments when calling generic methods
This has nothing to do with your issue.
Best regards,
Frederik
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list