[Vala] Why can't I use Gee.HashMap as a class property?



Hello

I I use HashMap as a property I get error:
c.vala:26.3-26.5: error: missing generic type arguments
        map[1] = node;
        ^^^

how should I use gee.HashMap as a property to share it between classes?

b.vala compile while c.vala not.

thanks for your help
Nadav

Attachment: c.vala
Description: Binary data

Attachment: b.vala
Description: Binary data



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