diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2021-11-06 18:55:37 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2021-11-06 19:34:28 +0100 |
commit | 1f28a5dbd75d5ae5c5883a77468f800b86cd1855 (patch) | |
tree | bd68b73138d2496beebc51e3d382a87a5478abe0 /vala/valaproperty.vala | |
parent | a0d7177906d2576dbb5b432ac3a5189d580c108d (diff) | |
download | vala-1f28a5dbd75d5ae5c5883a77468f800b86cd1855.tar.gz |
vala: Drop SemanticAnalyzer.is_type_accessible()
Diffstat (limited to 'vala/valaproperty.vala')
-rw-r--r-- | vala/valaproperty.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vala/valaproperty.vala b/vala/valaproperty.vala index 6f04ff97d..fac24d53d 100644 --- a/vala/valaproperty.vala +++ b/vala/valaproperty.vala @@ -520,7 +520,7 @@ public class Vala.Property : Symbol, Lockable { } // check whether property type is at least as accessible as the property - if (!context.analyzer.is_type_accessible (this, property_type)) { + if (!property_type.is_accessible (this)) { error = true; Report.error (source_reference, "property type `%s' is less accessible than property `%s'", property_type.to_string (), get_full_name ()); } |