Re: [Vala] multiple fields in a single declaration



Hi Adam,

That issue is already in bugzilla, take a look here
http://bugzilla.gnome.org/show_bug.cgi?id=530030

2009/8/31 Adam Dingle <adam yorba org>

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

_______________________________________________
Vala-list mailing list
Vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list



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