Index: tests/lib_strong/async/zone_run_test.dart |
diff --git a/tests/lib_strong/async/zone_run_test.dart b/tests/lib_strong/async/zone_run_test.dart |
index 1a40370cd09a7e7e0dfe8aabf5593ee1002c70e8..448ad0994eb8d2b1aed669e80e3bc8b5eba55eff 100644 |
--- a/tests/lib_strong/async/zone_run_test.dart |
+++ b/tests/lib_strong/async/zone_run_test.dart |
@@ -13,13 +13,13 @@ main() { |
bool shouldForward = true; |
Expect.identical(Zone.ROOT, Zone.current); |
Zone forked = Zone.current.fork(specification: new ZoneSpecification( |
- run: <R>(Zone self, ZoneDelegate parent, Zone origin, R f()) { |
+ run: (Zone self, ZoneDelegate parent, Zone origin, 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.ROOT, Zone.current); |
events.add("forked.run"); |
if (shouldForward) return parent.run(origin, f); |
- return 42 as R; |
+ return 42; |
})); |
events.add("zone forked"); |