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

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

Issue 2959163002: 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_register_callback_test.dart ('k') | tests/lib/async/zone_root_bind_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/async/zone_register_callback_unary_test.dart
diff --git a/tests/lib/async/zone_register_callback_unary_test.dart b/tests/lib/async/zone_register_callback_unary_test.dart
index 67697fe0da76a828d7b5ce5b061a2f84bbbc3b6e..aa8f2b01240a352598a91749c2f5ee62fd06b986 100644
--- a/tests/lib/async/zone_register_callback_unary_test.dart
+++ b/tests/lib/async/zone_register_callback_unary_test.dart
@@ -15,7 +15,7 @@ main() {
Expect.identical(Zone.ROOT, Zone.current);
Zone forked = Zone.current.fork(specification: new ZoneSpecification(
registerUnaryCallback:
- (Zone self, ZoneDelegate parent, Zone origin, f(arg)) {
+ <R>(Zone self, ZoneDelegate parent, Zone origin, R f(arg)) {
// 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/async/zone_register_callback_test.dart ('k') | tests/lib/async/zone_root_bind_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698