Re: [Vala] Incorrect C code generated

2016-03-22 Thread Felipe Lavratti
Mate, this works: struct DataStruct { int i; } class ClassA : Object { public DataStruct a { get; set; } public ClassA(DataStruct a) { this.a = a; } } class ClassB : Object { public Value b { get; set; } public ClassB(Value b) { this.b = b; } } class Main {

Re: [Vala] Incorrect C code generated

2016-03-22 Thread Abderrahim Kitouni
Hi Le mar 22 mars 2016 20:37, Dmitry Golovin a écrit : > Hello! > > Discussed today on the IRC channel, also posting it to the mailing list. > > I don't know if it is a vala bug or I am just using things incorrectly. > > Here is my code: > > struct N { > int i; >

[Vala] Incorrect C code generated

2016-03-22 Thread Dmitry Golovin
Hello! Discussed today on the IRC channel, also posting it to the mailing list. I don't know if it is a vala bug or I am just using things incorrectly. Here is my code: struct N { int i; } class ClassA : Object { public N a { get; set; } public ClassA(N a) {