Index: tests/lib_strong/async/zone_register_callback_test.dart |
diff --git a/tests/lib_strong/async/zone_register_callback_test.dart b/tests/lib_strong/async/zone_register_callback_test.dart |
index b4691d1550c73d2ff3fcdabff82482294d2cf4bf..221d8dd0822812c867e62c020e450e2b53a8558a 100644 |
--- a/tests/lib_strong/async/zone_register_callback_test.dart |
+++ b/tests/lib_strong/async/zone_register_callback_test.dart |
@@ -14,7 +14,8 @@ main() { |
Expect.identical(Zone.ROOT, Zone.current); |
Zone forked = Zone.current.fork(specification: new ZoneSpecification( |
- registerCallback: (Zone self, ZoneDelegate parent, Zone origin, f()) { |
+ registerCallback: |
+ <R>(Zone self, ZoneDelegate parent, Zone origin, R f()) { |
// The zone is still the same as when origin.run was invoked, which |
// is the root zone. (The origin zone hasn't been set yet). |
Expect.identical(Zone.current, Zone.ROOT); |