[Vala] case/when with enum
- From: Arc Riley <arcriley gmail com>
- To: vala-list <vala-list gnome org>
- Subject: [Vala] case/when with enum
- Date: Thu, 7 Jan 2010 07:08:35 -0500
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?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]