GNOME Bugzilla – Bug 614010
Public Array members not working
Last modified: 2010-03-26 14:00:27 UTC
Compiling: public class Package : Object { public IndexFile[] indexfiles; public void merge(Package other) { if (!(other.indexfiles[0] in this.indexfiles)) this.indexfiles += other.indexfiles[0]; } } public class IndexFile : Object { } public static void main() { } Results in: mycache.c: In function ‘package_merge’: mycache.c:107: error: ‘Package’ has no member named ‘_indexfiles_size_’ error: cc exited with status 256 Compilation failed: 1 error(s), 0 warning(s) If I change the member to 'internal', everything works.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 570821 ***