GNOME Bugzilla – Bug 652380
[regression] Fixed sized arrays missing length variable
Last modified: 2011-06-12 07:53:44 UTC
Using the current git master, the following fails: public class ArrayTest { public static void set_p (uchar[] p) { p[0] = 0; } public static int main (string[] args) { uchar p[3]; set_p (p); return 0; } } array_test.vala.c:67:23: error: ‘p_length1’ undeclared (first use in this function)
commit e83585bd7cafcf09e0cb94082642f4711a99fc23 Author: Luca Bruno <lucabru@src.gnome.org> Date: Sun Jun 12 09:42:52 2011 +0200 codegen: Fix access to arrays with fixed length Fixes bug 652380. This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.