Re: [Vala] [Genie] Problem with enums in genie
Hi, Thanks you Jamie, i can access my enum ! I have a simple question about enum, why if i change 'value1 = 15' by 'value1 = 15', valac does not return an error, only gcc (error: enumerator value for 'ENUM_TEST_value1' is not an integer constant) [indent=4] enum EnumTest value1 = 15 init print (%d, EnumTest.value1) Thanks in advance, Nicolas. ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
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. ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
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 ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] [Genie] Problem with enums in genie
Should now be fixed in master jamie 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 ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list