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

Issue 2795193002: Make Future.doWhile not delay when the return value is not a future. (Closed)

Created:
3 years, 8 months ago by Lasse Reichstein Nielsen
Modified:
3 years, 8 months ago
Reviewers:
floitsch
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Make Future.doWhile not delay when the return value is not a future. Ditto for Future.forEach, which is based on Future.doWhile. Update documentation. Fixes issue #29239 BUG= http://dartbug.com/29239 R=floitsch@google.com Committed: https://github.com/dart-lang/sdk/commit/f380e61b57fec3d55b7929c2b1417f522465f80a

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address comments. #

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

Messages

Total messages: 6 (2 generated)
Lasse Reichstein Nielsen
3 years, 8 months ago (2017-04-04 11:20:57 UTC) #2
floitsch
LGTM. https://codereview.chromium.org/2795193002/diff/1/sdk/lib/async/future.dart File sdk/lib/async/future.dart (right): https://codereview.chromium.org/2795193002/diff/1/sdk/lib/async/future.dart#newcode431 sdk/lib/async/future.dart:431: * only when the call returns, and if ...
3 years, 8 months ago (2017-04-05 13:19:25 UTC) #3
Lasse Reichstein Nielsen
https://codereview.chromium.org/2795193002/diff/1/sdk/lib/async/future.dart File sdk/lib/async/future.dart (right): https://codereview.chromium.org/2795193002/diff/1/sdk/lib/async/future.dart#newcode431 sdk/lib/async/future.dart:431: * only when the call returns, and if [f] ...
3 years, 8 months ago (2017-04-06 09:49:27 UTC) #4
Lasse Reichstein Nielsen
3 years, 8 months ago (2017-04-06 10:00:24 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
f380e61b57fec3d55b7929c2b1417f522465f80a (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698