[vala/staging: 3/3] codewriter: Output inner interface declarations
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging: 3/3] codewriter: Output inner interface declarations
- Date: Fri, 6 Mar 2020 07:00:39 +0000 (UTC)
commit daba7e42a60cfbed3e95f9fdbd70af78da67a02a
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Fri Mar 6 07:49:47 2020 +0100
codewriter: Output inner interface declarations
Missing in d79401ad13a4bc5121f5ae187547c53b6a0a7701
Fixes https://gitlab.gnome.org/GNOME/vala/issues/918
vala/valacodewriter.vala | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/vala/valacodewriter.vala b/vala/valacodewriter.vala
index 198ee51c2..844fba8d4 100644
--- a/vala/valacodewriter.vala
+++ b/vala/valacodewriter.vala
@@ -273,6 +273,7 @@ public class Vala.CodeWriter : CodeVisitor {
current_scope = cl.scope;
visit_sorted (cl.get_classes ());
+ visit_sorted (cl.get_interfaces ());
visit_sorted (cl.get_structs ());
visit_sorted (cl.get_enums ());
visit_sorted (cl.get_delegates ());
@@ -394,6 +395,7 @@ public class Vala.CodeWriter : CodeVisitor {
current_scope = iface.scope;
visit_sorted (iface.get_classes ());
+ visit_sorted (iface.get_interfaces ());
visit_sorted (iface.get_structs ());
visit_sorted (iface.get_enums ());
visit_sorted (iface.get_delegates ());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]