GNOME Bugzilla – Bug 625209
Support setting name and nick for enum values
Last modified: 2018-05-19 10:26:07 UTC
Created attachment 166504 [details] test case It would be nice to be able to specify the name and nick for enum values, like you can currently specify the nick and blurb for properties.
Created attachment 166505 [details] [review] Allow specifying name and nick of enum values.
When compiling to object files, there are a few things to keep in mind: - gcc doesn't provide a --directory switch itself so valac has to simulate that using -o. - For multiple source files, gcc cannot use both -o and -c, the same applies to valac. (maybe vala should detect that beforehand though.) So for example valac -c foo.vala bar.vala works as expected but valac -c -d outdir foo.vala bar.vala will generate a warning from gcc as the -o option has to be used.
Nevermind the comment, I posted in the wrong thread
Created attachment 347490 [details] [review] vala: Allow specifying name and nick of enum values
Review of attachment 347490 [details] [review]: Just an updated / reworked patch. This doesn't keep backwards compat and therefore isn't feasible to push.
Created attachment 372145 [details] [review] vala: Allow specifying the nick of enum values
Attachment 372145 [details] pushed as ba1258d - vala: Allow specifying the nick of enum values