GNOME Bugzilla – Bug 549678
Class with public enum used in public property fails in the C compiler
Last modified: 2008-12-13 09:58:40 UTC
The following code fails in the C compiler, because the enum is used before it's declared (svn revision 1764): using GLib; public class Foo : Object { public enum Bar { BAZ } public Bar baz; }
I also ran into this bug. It's exactly as described.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 471244 ***