File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,6 @@ part of dart.async;
1313/// It is a compile-time error for any class to extend, mix in or implement
1414/// `FutureOr` .
1515///
16- /// Note: the `FutureOr<T>` type is interpreted as `dynamic` in non strong-mode.
17- ///
1816/// # Examples
1917/// ``` dart
2018/// // The `Future<T>.then` function takes a callback [f] that returns either
@@ -637,8 +635,6 @@ abstract class Future<T> {
637635 // - (dynamic, StackTrace) -> FutureOr<T>
638636 // Given that there is a `test` function that is usually used to do an
639637 // `isCheck` we should also expect functions that take a specific argument.
640- // Note: making `catchError` return a `Future<T>` in non-strong mode could be
641- // a breaking change.
642638 Future <T > catchError (Function onError, {bool test (Object error)});
643639
644640 /**
Original file line number Diff line number Diff line change @@ -15,8 +15,6 @@ part of dart.async;
1515/// It is a compile-time error for any class to extend, mix in or implement
1616/// `FutureOr` .
1717///
18- /// Note: the `FutureOr<T>` type is interpreted as `dynamic` in non strong-mode.
19- ///
2018/// # Examples
2119/// ``` dart
2220/// // The `Future<T>.then` function takes a callback [f] that returns either
@@ -639,8 +637,6 @@ abstract class Future<T> {
639637 // - (dynamic, StackTrace) -> FutureOr<T>
640638 // Given that there is a `test` function that is usually used to do an
641639 // `isCheck` we should also expect functions that take a specific argument.
642- // Note: making `catchError` return a `Future<T>` in non-strong mode could be
643- // a breaking change.
644640 Future <T > catchError (Function onError, {bool test (Object error)});
645641
646642 /**
You can’t perform that action at this time.
0 commit comments