Hello
I attached a file.
valac -C test.vala
you will see a problem in the geometry_new_copy method.
this method call holder_new_copy with the wrong number of parameter.
it miss the array length.
did I miss something ?
See you
Frederic
class Holder {
weak uint[] idx;
public Holder.copy(Holder src, uint[] idx) {
this.idx = idx;
}
}
class Geometry {
uint[] idx;
Holder[] holders;
Geometry.copy(Geometry src) {
this.holders = new Holder[src.holders.length];
uint i=0U;
foreach(weak Holder holder in this.holders)
this.holders[i++] = new Holder.copy(holder, this.idx);
}
}
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list