Re: [Vala] case/when with enum

2010-01-09 Thread Jürg Billeter
On Thu, 2010-01-07 at 07:08 -0500, Arc Riley wrote: > error: Integer or string expression expected > > on a case statement where: > enum _message > create > resize > title > close > _queue = new AsyncQueue of _message > case _queue.pop() > > Using case/when with enum values

[Vala] case/when with enum

2010-01-07 Thread Arc Riley
error: Integer or string expression expected on a case statement where: enum _message create resize title close _queue = new AsyncQueue of _message case _queue.pop() Using case/when with enum values would seem extremely logical, was this overlooked or is there a reason not t