Re: [Vala] [Genie] Problem with enums in genie



I need to update the genie parser to fix this error - will have it done
end of today

It should work fine with an earlier version of vala as it only appears
in the latest release

On Mon, 2010-09-27 at 14:55 +0200, Nicolas wrote:
Hello,

There is a long time that I did not use "enums" in my code and now I see 
that it no longer works as before, what's the problem?

[indent=4]

enum EnumTest
     value1 = "Hello !"

init
     print EnumTest.value1


test-enum.gs:7.11-7.25: error: Access to private member 
`EnumTest.value1' denied

Thanks in advance,
Nicolas.
_______________________________________________
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]