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

Unified Diff: tests/lib_strong/async/zone_register_callback_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
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 221d8dd0822812c867e62c020e450e2b53a8558a..b4691d1550c73d2ff3fcdabff82482294d2cf4bf 100644
--- a/tests/lib_strong/async/zone_register_callback_test.dart
+++ b/tests/lib_strong/async/zone_register_callback_test.dart
@@ -14,8 +14,7 @@ main() {
Expect.identical(Zone.ROOT, Zone.current);
Zone forked = Zone.current.fork(specification: new ZoneSpecification(
- registerCallback:
- <R>(Zone self, ZoneDelegate parent, Zone origin, R f()) {
+ registerCallback: (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.current, Zone.ROOT);
« no previous file with comments | « tests/lib_strong/async/zone_fork_test.dart ('k') | tests/lib_strong/async/zone_register_callback_unary_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698