[Vala] multiple fields in a single declaration
- From: Adam Dingle <adam yorba org>
- To: vala-list gnome org
- Subject: [Vala] multiple fields in a single declaration
- Date: Mon, 31 Aug 2009 08:07:23 -0700
Vala lets me declare multiple local variables in a single declaration:
void foo() {
int a, b; // OK
}
But if I attempt to declare multiple fields in a single declaration I
get a syntax error:
class Foo {
int a, b; // syntax error
}
Is this by design? Or are multiple fields per declaration simply not
yet implemented?
adam
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]