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/valafield.vala | |
parent | a0d7177906d2576dbb5b432ac3a5189d580c108d (diff) | |
download | vala-1f28a5dbd75d5ae5c5883a77468f800b86cd1855.tar.gz |
vala: Drop SemanticAnalyzer.is_type_accessible()
Diffstat (limited to 'vala/valafield.vala')
-rw-r--r-- | vala/valafield.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vala/valafield.vala b/vala/valafield.vala index 731249e71..566a68b12 100644 --- a/vala/valafield.vala +++ b/vala/valafield.vala @@ -120,7 +120,7 @@ public class Vala.Field : Variable, Lockable { } // check whether field type is at least as accessible as the field - if (!context.analyzer.is_type_accessible (this, variable_type)) { + if (!variable_type.is_accessible (this)) { error = true; Report.error (source_reference, "field type `%s' is less accessible than field `%s'", variable_type.to_string (), get_full_name ()); return false; |