Re: [Vala] [0.8.0 release] missing generic type arguments
- From: Frederik <scumm_fredo gmx net>
- To: vala-list <vala-list gnome org>
- Subject: Re: [Vala] [0.8.0 release] missing generic type arguments
- Date: Thu, 01 Apr 2010 19:42:59 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]