Re: [Vala] enum access modifiers

2014-12-06 Thread Luca Bruno
, Dec 6, 2014 at 3:51 PM, Al Thomas wrote: > > -- > *From:* Luca Bruno > *Sent:* Saturday, 6 December 2014, 14:27 > *Subject:* Re: [Vala] enum access modifiers > > Nested classes or whatelse type is always "static" from a Java view po

Re: [Vala] enum access modifiers

2014-12-06 Thread Al Thomas
From: Luca Bruno Sent: Saturday, 6 December 2014, 14:27 Subject: Re: [Vala] enum access modifiers Nested classes or whatelse type is always "static" from a Java view point. So you access those enum values with test.a.TEST. There's no way those types can be tied

Re: [Vala] enum access modifiers

2014-12-06 Thread Luca Bruno
Nested classes or whatelse type is always "static" from a Java view point. So you access those enum values with test.a.TEST. There's no way those types can be tied to a particular instance of the parent class. I could not understand the rest of the mail, sorry. On Sat, Dec 6, 2014 at 3:21 PM, Al

[Vala] enum access modifiers

2014-12-06 Thread Al Thomas
The Vala manual states that an enum takes an access modifier, from https://wiki.gnome.org/Projects/Vala/Manual/Enumerated%20types%20%28Enums%29 :"enum-declaration: [ access-modifier ] enum qualified-enum-name { [ enum-members ] }" The following compiles and runs with Vala 0.26.0.33: void main()