Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(347)

Unified Diff: tests/lib/async/zone_fork_test.dart

Issue 2963743002: Revert "Make Zone API strong mode clean." (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/lib/async/zone_debug_test.dart ('k') | tests/lib/async/zone_register_callback_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/async/zone_fork_test.dart
diff --git a/tests/lib/async/zone_fork_test.dart b/tests/lib/async/zone_fork_test.dart
index 3def57f02f46b7147c5470599f6a1b67e8b7163f..f3d98ea68a942ce76bbf6fb4a93f5e57f0185ab1 100644
--- a/tests/lib/async/zone_fork_test.dart
+++ b/tests/lib/async/zone_fork_test.dart
@@ -21,9 +21,9 @@ main() {
events.add("forked.fork");
Function descriptionRun = zoneSpecification.run;
ZoneSpecification modified = new ZoneSpecification.from(zoneSpecification,
- run: <R>(self, parent, origin, R f()) {
+ run: (self, parent, origin, f) {
events.add("wrapped run");
- return descriptionRun<R>(self, parent, origin, () {
+ return descriptionRun(self, parent, origin, () {
events.add("wrapped f");
return f();
});
@@ -33,7 +33,7 @@ main() {
events.add("start");
Zone forkedChild = forked.fork(specification: new ZoneSpecification(
- run: <R>(Zone self, ZoneDelegate parent, Zone origin, R f()) {
+ run: (Zone self, ZoneDelegate parent, Zone origin, f()) {
events.add("executing child run");
return parent.run(origin, f);
}));
« no previous file with comments | « tests/lib/async/zone_debug_test.dart ('k') | tests/lib/async/zone_register_callback_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698