diff options
author | Jeremy Philippe <jeremy.philippe@gmail.com> | 2019-12-21 11:54:30 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2019-12-21 17:36:06 +0100 |
commit | b977da4f72503c9688725a492515c8443b2d83ae (patch) | |
tree | 5d375cedfa1018474f85ef7714f256c46a144d00 /vala/valaproperty.vala | |
parent | edf4b3dcbabe7f3a0e3cd0207205d82236b82c8a (diff) | |
download | vala-b977da4f72503c9688725a492515c8443b2d83ae.tar.gz |
vala: Allow to override base interface properties explicitly
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 759735715..04f3d4958 100644 --- a/vala/valaproperty.vala +++ b/vala/valaproperty.vala @@ -500,7 +500,7 @@ public class Vala.Property : Symbol, Lockable { Report.error (source_reference, "property type `%s' is less accessible than property `%s'".printf (property_type.to_string (), get_full_name ())); } - if (overrides && base_property == null) { + if (overrides && base_property == null && base_interface_property == null) { Report.error (source_reference, "%s: no suitable property found to override".printf (get_full_name ())); } |