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 would seem extremely logical, was this
> overlooked or is there a reason not to support it?

switch/case should be working with enum values. Can you post a full test
case?

Jürg

_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to