2008-05-25 Juerg Billeter <j@bitron.ch>
* vala/valaarraytype.vala:
Fix type string for multi-dimensional arrays
svn path=/trunk/; revision=1435
2008-05-25 Jürg Billeter <j@bitron.ch>
+ * vala/valaarraytype.vala:
+
+ Fix type string for multi-dimensional arrays
+
+2008-05-25 Jürg Billeter <j@bitron.ch>
+
* vapi/tiff.vapi: use [Compact] attribute and fix return types,
patch by Christian Meyer
}
public override string to_qualified_string (Scope? scope) {
- return element_type.to_qualified_string (scope) + "[]";
+ return "%s[%s]".printf (element_type.to_qualified_string (scope), string.nfill (rank - 1, ','));
}
public override bool compatible (DataType target_type) {