[vala/staging] vala: Add missing closing brace/bracket in to_string()
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] vala: Add missing closing brace/bracket in to_string()
- Date: Sat, 17 Aug 2019 08:00:16 +0000 (UTC)
commit 565447575afbe9b78d56c8b58d8d1d8330ef1494
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sat Aug 17 08:48:35 2019 +0200
vala: Add missing closing brace/bracket in to_string()
vala/valaarraycreationexpression.vala | 1 +
vala/valainitializerlist.vala | 1 +
2 files changed, 2 insertions(+)
---
diff --git a/vala/valaarraycreationexpression.vala b/vala/valaarraycreationexpression.vala
index b792c3acb..c61e6bee0 100644
--- a/vala/valaarraycreationexpression.vala
+++ b/vala/valaarraycreationexpression.vala
@@ -165,6 +165,7 @@ public class Vala.ArrayCreationExpression : Expression {
builder.append_printf (", %s", size.to_string ());
}
}
+ builder.append_c (']');
if (initializer_list != null) {
builder.append (initializer_list.to_string ());
}
diff --git a/vala/valainitializerlist.vala b/vala/valainitializerlist.vala
index 9a6ca85e3..a8cdea14d 100644
--- a/vala/valainitializerlist.vala
+++ b/vala/valainitializerlist.vala
@@ -117,6 +117,7 @@ public class Vala.InitializerList : Expression {
builder.append_printf (", %s", initializer.to_string ());
}
}
+ builder.append_c ('}');
return builder.str;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]