summaryrefslogtreecommitdiff
path: root/vala/valatypecheck.vala
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2020-07-13 20:00:08 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2020-07-13 20:43:56 +0200
commitdc7a41232c67e5cd84d14707fb8250a3589070c7 (patch)
treeb27c5e0c801b6dd6201ec831aa5b50d6e9523490 /vala/valatypecheck.vala
parent9f1d443b9bfa54232ffa6d7131f4b0c498e82031 (diff)
downloadvala-dc7a41232c67e5cd84d14707fb8250a3589070c7.tar.gz
vala: Remove some public API from expressions and statements (2)
Diffstat (limited to 'vala/valatypecheck.vala')
-rw-r--r--vala/valatypecheck.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/vala/valatypecheck.vala b/vala/valatypecheck.vala
index 167ed1128..b65b2ce27 100644
--- a/vala/valatypecheck.vala
+++ b/vala/valatypecheck.vala
@@ -31,7 +31,7 @@ public class Vala.TypeCheck : Expression {
*/
public Expression expression {
get { return _expression; }
- set {
+ private set {
_expression = value;
_expression.parent_node = this;
}
@@ -42,7 +42,7 @@ public class Vala.TypeCheck : Expression {
*/
public DataType type_reference {
get { return _data_type; }
- set {
+ private set {
_data_type = value;
_data_type.parent_node = this;
}