[Vala] box array does not work



Hi all,

I try to defive an object like:

Gee.TreeMap< uint8[] ?, FileInformation >

where FileInformation is class.

I have boxed uint8[] with ?

but I receive fro valac 0.24 the following error

error: `uint8[]?' is not a supported generic type argument, use `?' to box
value types

I think that it is a valac bug. Is it true?

regards


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