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 {
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;
> }
> class Clas
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) {