From dd5e668522b194ade8118dc3620457cd1b7ed9d5 Mon Sep 17 00:00:00 2001 From: Luca Bruno Date: Sun, 10 Jul 2011 13:22:44 +0200 Subject: GAsync: Fix generating finish method for generic async methods Fixes bug 654336. --- tests/Makefile.am | 1 + tests/asynchronous/bug654336.vala | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 tests/asynchronous/bug654336.vala (limited to 'tests') diff --git a/tests/Makefile.am b/tests/Makefile.am index 9a2c4e251..75eaf17dc 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -125,6 +125,7 @@ TESTS = \ asynchronous/bug646945.vala \ asynchronous/bug652252.vala \ asynchronous/bug653861.vala \ + asynchronous/bug654336.vala \ asynchronous/closures.vala \ dbus/basic-types.test \ dbus/arrays.test \ diff --git a/tests/asynchronous/bug654336.vala b/tests/asynchronous/bug654336.vala new file mode 100644 index 000000000..cbafc85e4 --- /dev/null +++ b/tests/asynchronous/bug654336.vala @@ -0,0 +1,8 @@ +async void foo() { } + +async void bar () { + yield foo (); +} + +void main () { +} -- cgit v1.2.1