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



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.



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