diff options
author | Jürg Billeter <j@bitron.ch> | 2009-10-16 17:59:30 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2009-10-16 17:59:56 +0200 |
commit | d32e981f704891e7532d15c8458c752fec86f7df (patch) | |
tree | c67395a3b27843012c89ff9d0a36c39da40d79a2 /tests/asynchronous | |
parent | e4a3bc64f91a4142389a86c71916ea5a4ae924c7 (diff) | |
download | vala-d32e981f704891e7532d15c8458c752fec86f7df.tar.gz |
GAsync: Fix non-closure lambda expressions in instance methods
Fixes bug 598697.
Diffstat (limited to 'tests/asynchronous')
-rw-r--r-- | tests/asynchronous/bug598697.vala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/asynchronous/bug598697.vala b/tests/asynchronous/bug598697.vala new file mode 100644 index 000000000..804039a42 --- /dev/null +++ b/tests/asynchronous/bug598697.vala @@ -0,0 +1,8 @@ +public class Foo { + public async void do_foo () { + Func f = () => {}; + } +} + +void main () { +} |