Index: tests/lib/async/async_await_zones_test.dart |
diff --git a/tests/lib/async/async_await_zones_test.dart b/tests/lib/async/async_await_zones_test.dart |
index 9e22029549555a35b96265aa9d19878a480fc3ab..cb7011caf896156b5b440a14b9644682a335bab0 100644 |
--- a/tests/lib/async/async_await_zones_test.dart |
+++ b/tests/lib/async/async_await_zones_test.dart |
@@ -94,8 +94,7 @@ increaseDepth() { |
Expect.isTrue(depth < 20); |
} |
-ZoneCallback<R> registerCallback<R>( |
- Zone self, ZoneDelegate parent, Zone zone, R f()) { |
+registerCallback(Zone self, ZoneDelegate parent, Zone zone, f) { |
var oldDepth = depth; |
increaseDepth(); |
return parent.registerCallback(zone, () { |
@@ -104,8 +103,7 @@ ZoneCallback<R> registerCallback<R>( |
}); |
} |
-ZoneUnaryCallback<R, T> registerUnaryCallback<R, T>( |
- Zone self, ZoneDelegate parent, Zone zone, R f(T arg)) { |
+registerUnaryCallback(Zone self, ZoneDelegate parent, Zone zone, f) { |
var oldDepth = depth; |
increaseDepth(); |
return parent.registerUnaryCallback(zone, (x) { |
@@ -114,8 +112,7 @@ ZoneUnaryCallback<R, T> registerUnaryCallback<R, T>( |
}); |
} |
-ZoneBinaryCallback<R, T1, T2> registerBinaryCallback<R, T1, T2>( |
- Zone self, ZoneDelegate parent, Zone zone, R f(T1 arg1, T2 arg2)) { |
+registerBinaryCallback(Zone self, ZoneDelegate parent, Zone zone, f) { |
var oldDepth = depth; |
increaseDepth(); |
return parent.registerBinaryCallback(zone, (x, y) { |