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

Issue 2562703002: Add `FutureOr<T>` class to `dart:async`. (Closed)

Created:
4 years ago by floitsch
Modified:
4 years ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add `FutureOr<T>` class to `dart:async`. `FutureOr<T>` is a magical class, but having a concrete implementation makes it easier for many tools (like dartdoc, code navigation, ...) to deal with it. Fixes #28029 BUG= http://dartbug.com/28029 R=lrn@google.com Committed: https://github.com/dart-lang/sdk/commit/6a966d2914b713557ea899db5937154c514c3818

Patch Set 1 #

Patch Set 2 : Reword. #

Total comments: 13

Patch Set 3 : Address comments. #

Total comments: 4

Patch Set 4 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -0 lines) Patch
M sdk/lib/async/future.dart View 1 2 3 1 chunk +40 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
floitsch
4 years ago (2016-12-08 14:02:09 UTC) #2
Lasse Reichstein Nielsen
lgtm https://codereview.chromium.org/2562703002/diff/20001/sdk/lib/async/future.dart File sdk/lib/async/future.dart (right): https://codereview.chromium.org/2562703002/diff/20001/sdk/lib/async/future.dart#newcode7 sdk/lib/async/future.dart:7: /// The union of `Future<T>` and `T`. I ...
4 years ago (2016-12-08 15:14:00 UTC) #3
Brian Wilkerson
https://codereview.chromium.org/2562703002/diff/20001/sdk/lib/async/future.dart File sdk/lib/async/future.dart (right): https://codereview.chromium.org/2562703002/diff/20001/sdk/lib/async/future.dart#newcode12 sdk/lib/async/future.dart:12: /// This class can not be implemented or extended. ...
4 years ago (2016-12-08 15:25:46 UTC) #5
floitsch
https://codereview.chromium.org/2562703002/diff/20001/sdk/lib/async/future.dart File sdk/lib/async/future.dart (right): https://codereview.chromium.org/2562703002/diff/20001/sdk/lib/async/future.dart#newcode7 sdk/lib/async/future.dart:7: /// The union of `Future<T>` and `T`. On 2016/12/08 ...
4 years ago (2016-12-08 16:24:00 UTC) #6
Lasse Reichstein Nielsen
lgtm https://codereview.chromium.org/2562703002/diff/40001/sdk/lib/async/future.dart File sdk/lib/async/future.dart (right): https://codereview.chromium.org/2562703002/diff/40001/sdk/lib/async/future.dart#newcode10 sdk/lib/async/future.dart:10: /// future-or-value type. References to this class are ...
4 years ago (2016-12-08 16:46:52 UTC) #7
floitsch
https://codereview.chromium.org/2562703002/diff/40001/sdk/lib/async/future.dart File sdk/lib/async/future.dart (right): https://codereview.chromium.org/2562703002/diff/40001/sdk/lib/async/future.dart#newcode10 sdk/lib/async/future.dart:10: /// future-or-value type. References to this class are resolved ...
4 years ago (2016-12-09 18:19:48 UTC) #8
floitsch
4 years ago (2016-12-12 13:05:54 UTC) #10
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
6a966d2914b713557ea899db5937154c514c3818 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698