diff options
author | Luca Bruno <lucabru@src.gnome.org> | 2011-07-10 13:22:44 +0200 |
---|---|---|
committer | Luca Bruno <lucabru@src.gnome.org> | 2011-07-10 13:43:55 +0200 |
commit | dd5e668522b194ade8118dc3620457cd1b7ed9d5 (patch) | |
tree | fb63c8716f58f2e334fdb9fbf0d0f086edc9c71d /tests | |
parent | d495141d2d11df0ad59471182b90f87b8d4f12e0 (diff) | |
download | vala-dd5e668522b194ade8118dc3620457cd1b7ed9d5.tar.gz |
GAsync: Fix generating finish method for generic async methods
Fixes bug 654336.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am | 1 | ||||
-rw-r--r-- | tests/asynchronous/bug654336.vala | 8 |
2 files changed, 9 insertions, 0 deletions
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<T>() { } + +async void bar () { + yield foo<int> (); +} + +void main () { +} |