[vala/0.40] vala: Add missing closing brace/bracket in to_string()
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.40] vala: Add missing closing brace/bracket in to_string()
- Date: Wed, 9 Oct 2019 17:32:40 +0000 (UTC)
commit acec9ceff263f15af184c286a2ea4cd5e238e07b
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 42ca2872d..006a796b5 100644
--- a/vala/valaarraycreationexpression.vala
+++ b/vala/valaarraycreationexpression.vala
@@ -139,6 +139,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 f4f5104e9..e96ccb855 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]