summaryrefslogtreecommitdiff
path: root/vala/valalambdaexpression.vala
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2020-02-20 11:20:53 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2020-03-24 14:19:28 +0100
commit0c1eaeabd1067480eba617fd249d8846afa11afb (patch)
treecdd13eae203a53b05dcff17c33cfb495c97a48e3 /vala/valalambdaexpression.vala
parent8058c6751afe65b355674f886f214d259cb72c03 (diff)
downloadvala-0c1eaeabd1067480eba617fd249d8846afa11afb.tar.gz
vala: Remove some public API from expressions and statements
Diffstat (limited to 'vala/valalambdaexpression.vala')
-rw-r--r--vala/valalambdaexpression.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/vala/valalambdaexpression.vala b/vala/valalambdaexpression.vala
index ef1807312..6024df547 100644
--- a/vala/valalambdaexpression.vala
+++ b/vala/valalambdaexpression.vala
@@ -33,18 +33,18 @@ public class Vala.LambdaExpression : Expression {
* The expression body of this lambda expression. Only one of
* expression_body or statement_body may be set.
*/
- public Expression expression_body { get; set; }
+ public Expression expression_body { get; private set; }
/**
* The statement body of this lambda expression. Only one of
* expression_body or statement_body may be set.
*/
- public Block statement_body { get; set; }
+ public Block statement_body { get; private set; }
/**
* The generated method.
*/
- public Method method { get; set; }
+ public Method method { get; private set; }
private List<Parameter> parameters = new ArrayList<Parameter> ();