summaryrefslogtreecommitdiff
path: root/vala/valainterface.vala
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2019-10-16 12:47:04 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2019-10-16 14:24:11 +0200
commitd79401ad13a4bc5121f5ae187547c53b6a0a7701 (patch)
treecd707160dd2f8a9540ca84d940251ce5c937f95f /vala/valainterface.vala
parent2661221908acffc5607b5c16ff6f217ecd4c1926 (diff)
downloadvala-d79401ad13a4bc5121f5ae187547c53b6a0a7701.tar.gz
vala: Accept interface as inner type for object-type symbols
Fixes https://gitlab.gnome.org/GNOME/vala/issues/697
Diffstat (limited to 'vala/valainterface.vala')
-rw-r--r--vala/valainterface.vala4
1 files changed, 4 insertions, 0 deletions
diff --git a/vala/valainterface.vala b/vala/valainterface.vala
index 5cbb2ed78..44613f9ef 100644
--- a/vala/valainterface.vala
+++ b/vala/valainterface.vala
@@ -270,6 +270,10 @@ public class Vala.Interface : ObjectTypeSymbol {
cl.check (context);
}
+ foreach (Interface iface in get_interfaces ()) {
+ iface.check (context);
+ }
+
foreach (Struct st in get_structs ()) {
st.check (context);
}