summaryrefslogtreecommitdiff
path: root/vala/valaproperty.vala
diff options
context:
space:
mode:
authorJeremy Philippe <jeremy.philippe@gmail.com>2019-12-21 11:54:30 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2019-12-21 17:36:06 +0100
commitb977da4f72503c9688725a492515c8443b2d83ae (patch)
tree5d375cedfa1018474f85ef7714f256c46a144d00 /vala/valaproperty.vala
parentedf4b3dcbabe7f3a0e3cd0207205d82236b82c8a (diff)
downloadvala-b977da4f72503c9688725a492515c8443b2d83ae.tar.gz
vala: Allow to override base interface properties explicitly
Diffstat (limited to 'vala/valaproperty.vala')
-rw-r--r--vala/valaproperty.vala2
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 ()));
}