GNOME Bugzilla – Bug 606202
Support nullable struct as property type
Last modified: 2010-01-08 20:24:27 UTC
Hi, Using nullable struct property leads to GCC error. Case : public struct TestStruct { public string label; } class TestClass : Object { public weak TestStruct? strukt {get; set;} } public int main(string[] args) { var test = new TestClass(); var strukt = TestStruct(); test.strukt = strukt; return 0; } Error : test.vala.c:187: error: lvalue required as unary ‘&’ operand error: cc exited with status 256 Thanks, Étienne
commit 7cd9bc328dc3ec3b555a6ea9d2562877beef4708 Author: Jürg Billeter <j@bitron.ch> Date: Fri Jan 8 21:22:09 2010 +0100 Fix nullable struct properties Fixes bug 606202.