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/valaconstant.vala | |
parent | a0d7177906d2576dbb5b432ac3a5189d580c108d (diff) | |
download | vala-1f28a5dbd75d5ae5c5883a77468f800b86cd1855.tar.gz |
vala: Drop SemanticAnalyzer.is_type_accessible()
Diffstat (limited to 'vala/valaconstant.vala')
-rw-r--r-- | vala/valaconstant.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vala/valaconstant.vala b/vala/valaconstant.vala index 5b30e7f38..92591026c 100644 --- a/vala/valaconstant.vala +++ b/vala/valaconstant.vala @@ -122,7 +122,7 @@ public class Vala.Constant : Symbol { } // check whether constant type is at least as accessible as the constant - if (!context.analyzer.is_type_accessible (this, type_reference)) { + if (!type_reference.is_accessible (this)) { error = true; Report.error (source_reference, "constant type `%s' is less accessible than constant `%s'", type_reference.to_string (), get_full_name ()); } |