vala r1435 - in trunk: . vala
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r1435 - in trunk: . vala
- Date: Sun, 25 May 2008 18:02:24 +0000 (UTC)
Author: juergbi
Date: Sun May 25 18:02:23 2008
New Revision: 1435
URL: http://svn.gnome.org/viewvc/vala?rev=1435&view=rev
Log:
2008-05-25 Juerg Billeter <j bitron ch>
* vala/valaarraytype.vala:
Fix type string for multi-dimensional arrays
Modified:
trunk/ChangeLog
trunk/vala/valaarraytype.vala
Modified: trunk/vala/valaarraytype.vala
==============================================================================
--- trunk/vala/valaarraytype.vala (original)
+++ trunk/vala/valaarraytype.vala Sun May 25 18:02:23 2008
@@ -141,7 +141,7 @@
}
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) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]