From 46eae16f41465632da2e364cc7d20a25f19d82df Mon Sep 17 00:00:00 2001 From: Kairat Date: Sat, 13 Sep 2025 08:15:53 -0700 Subject: [PATCH] Update future.dart Closes https://github.com/dart-lang/sdk/pull/61498 GitOrigin-RevId: 21aa5840b32a4d331a84b91d3741aba16d9e61f3 Change-Id: If1d3f6eefd2619eb7a9e13b00ff041011924c4b6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/449371 Commit-Queue: Slava Egorov Reviewed-by: Slava Egorov --- sdk/lib/async/future.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/lib/async/future.dart b/sdk/lib/async/future.dart index a741bbd56b2..82765726441 100644 --- a/sdk/lib/async/future.dart +++ b/sdk/lib/async/future.dart @@ -1012,7 +1012,7 @@ extension FutureExtensions on Future { /// If [test] is supplied, only catches errors of type [E] /// where [test] returns `true`. /// If [E] is [Object], then all errors are potentially caught, - /// depending only on a supplied [test].toString() + /// depending only on a supplied [test]. /// /// If the error is caught, /// the returned future completes with the result of calling [handleError]