[vala/staging: 1/2] tests: Don't rely on external delegate defintions
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging: 1/2] tests: Don't rely on external delegate defintions
- Date: Sat, 8 Oct 2016 14:37:01 +0000 (UTC)
commit 3ddd120776b93714a14d7ea1af00fb9c89a3a27b
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sat Oct 8 16:30:58 2016 +0200
tests: Don't rely on external delegate defintions
tests/asynchronous/bug598697.vala | 2 ++
tests/methods/bug596726.vala | 2 ++
tests/objects/bug596621.vala | 2 ++
3 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/tests/asynchronous/bug598697.vala b/tests/asynchronous/bug598697.vala
index 804039a..24d310e 100644
--- a/tests/asynchronous/bug598697.vala
+++ b/tests/asynchronous/bug598697.vala
@@ -1,3 +1,5 @@
+delegate void Func ();
+
public class Foo {
public async void do_foo () {
Func f = () => {};
diff --git a/tests/methods/bug596726.vala b/tests/methods/bug596726.vala
index 6eaec26..2203ece 100644
--- a/tests/methods/bug596726.vala
+++ b/tests/methods/bug596726.vala
@@ -1,3 +1,5 @@
+delegate void Func ();
+
void do_bar (Func f) {
}
diff --git a/tests/objects/bug596621.vala b/tests/objects/bug596621.vala
index 348ea40..8a732f1 100644
--- a/tests/objects/bug596621.vala
+++ b/tests/objects/bug596621.vala
@@ -1,3 +1,5 @@
+delegate void Func ();
+
class Foo : Object {
[CCode (has_construct_function = false)]
public Foo () {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]