[vala/wip/ricotz/lsp: 4/4] MERGE vala: Tweak incomplete ObjectCreationExpression



commit f96c28e7bbde18f3218b944174d5ff683ca1e9e8
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]