summaryrefslogtreecommitdiff
path: root/vala/valacallableexpression.vala
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2021-12-11 10:34:03 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2021-12-11 17:57:27 +0100
commit1473f3e709e3fe930686fa7f2374ccae0f27719b (patch)
tree379454a74b1d1a99b824efeeee13426917259eb4 /vala/valacallableexpression.vala
parent55677efcad05ca1cc5e444a4b074cfd6ee1f3f62 (diff)
downloadvala-1473f3e709e3fe930686fa7f2374ccae0f27719b.tar.gz
codegen: Correctly handle chain up of struct creation methods
Fixes https://gitlab.gnome.org/GNOME/vala/issues/1264
Diffstat (limited to 'vala/valacallableexpression.vala')
-rw-r--r--vala/valacallableexpression.vala5
1 files changed, 5 insertions, 0 deletions
diff --git a/vala/valacallableexpression.vala b/vala/valacallableexpression.vala
index 9439cd2a2..930c7a0a2 100644
--- a/vala/valacallableexpression.vala
+++ b/vala/valacallableexpression.vala
@@ -32,6 +32,11 @@ public interface Vala.CallableExpression : Expression {
public abstract bool is_yield_expression { get; set; }
/**
+ * Whether it is a creation chain up.
+ */
+ public abstract bool is_chainup { get; set; }
+
+ /**
* Appends the specified expression to the list of arguments.
*
* @param arg an argument