GNOME Bugzilla – Bug 618348
Classes in Posix profile
Last modified: 2012-08-13 16:33:00 UTC
Hello, this simple test case is broken, because Vala does not generate anything for the class (methods, struct, nothing...). Is posix profile supposed to only support structs? Wouldn't it be convenient to support compact classes? public class Test { int field; public void meth () { } } void main () { }
*** Bug 627412 has been marked as a duplicate of this bug. ***
if this is not allowed, valac should deny compilation and show a proper error message
POSIX profile is considered experimental, there are several known limitations at the moment
The experimental POSIX profile has been removed in Vala 0.17.4.