Re: [Vala] box array does not work



On 18/07/2014 11:51, Michele Dionisio wrote:
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?
Not a bug, it's a valac error because you cannot box an array. Just what
the messages says.


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