[vala/wip/ricotz/lsp: 6/7] MERGE vala: Tweak incomplete ObjectCreationExpression
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/wip/ricotz/lsp: 6/7] MERGE vala: Tweak incomplete ObjectCreationExpression
- Date: Fri, 10 Jan 2020 13:53:45 +0000 (UTC)
commit f6a46cea37ec2f3f23ac2717fe76fd68593f13f9
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Thu Jan 9 18:42:04 2020 +0100
MERGE vala: Tweak incomplete ObjectCreationExpression
vala/valaobjectcreationexpression.vala | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/vala/valaobjectcreationexpression.vala b/vala/valaobjectcreationexpression.vala
index f68e2603e..a65633016 100644
--- a/vala/valaobjectcreationexpression.vala
+++ b/vala/valaobjectcreationexpression.vala
@@ -58,7 +58,7 @@ public class Vala.ObjectCreationExpression : Expression {
/**
* For language servers, whether the object creation expression is incomplete.
*/
- public bool is_incomplete { get; set; }
+ public bool is_incomplete { get; private set; }
private List<Expression> argument_list = new ArrayList<Expression> ();
@@ -91,6 +91,7 @@ public class Vala.ObjectCreationExpression : Expression {
this.source_reference = source_reference;
this.member_name = member_name;
this.is_incomplete = true;
+ error = true;
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]