Compiling the following (valac -c g.vala):
namespace Nsa {
public class ClassB {
public int[] x = {};
public void add() {
x += 1;
}
}
}
produces the following error
g.vala.c:71: error: ‘NsaClassB’ has no member named ‘_x_size_’
Removing 'public' from 'ClassB' or from 'x'
"fixes" the error, but renders ClassB unusable
for a library because non-public names will not
be listed in the generated vapi.
Is this a known bug? Is there a workaround other
than what I stated above?
hand
Nor Jaidi Tuah
_______________________________________________
vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list