[Vala] [0.8.0 release] missing generic type arguments



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");

There is the point in release notes:

Infer type arguments when calling generic methods

But what does this mean?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]