summaryrefslogtreecommitdiff
path: root/codegen/valagasyncmodule.vala
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2018-11-21 13:03:31 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2018-11-21 19:14:10 +0100
commitc26306357726a349c6e167a623ac02678b46f859 (patch)
treea6c37697c16db77656d51f73102c20d1548f5d21 /codegen/valagasyncmodule.vala
parent9c281736c1ddbe42392716a385dae951b8e4e6d6 (diff)
downloadvala-c26306357726a349c6e167a623ac02678b46f859.tar.gz
codegen: Add type declarations required for generics as needed
Diffstat (limited to 'codegen/valagasyncmodule.vala')
-rw-r--r--codegen/valagasyncmodule.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/codegen/valagasyncmodule.vala b/codegen/valagasyncmodule.vala
index 21f72dee1..a3022532a 100644
--- a/codegen/valagasyncmodule.vala
+++ b/codegen/valagasyncmodule.vala
@@ -394,6 +394,8 @@ public class Vala.GAsyncModule : GtkModule {
return;
}
+ generate_type_declaration (new MethodType (m), decl_space);
+
var cl = m.parent_symbol as Class;
var asyncfunc = new CCodeFunction (get_ccode_name (m), "void");