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

Unified Diff: dart/sdk/lib/async/future_impl.dart

Issue 56933002: Version 0.8.10.1 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 1 month 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 | « dart/pkg/shadow_dom/lib/shadow_dom.min.js ('k') | dart/sdk/lib/core/errors.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/sdk/lib/async/future_impl.dart
===================================================================
--- dart/sdk/lib/async/future_impl.dart (revision 29785)
+++ dart/sdk/lib/async/future_impl.dart (working copy)
@@ -514,7 +514,7 @@
Future chainSource = listenerValueOrError;
// Shortcut if the chain-source is already completed. Just continue the
// loop.
- if (chainSource is _Future && (chainSource as _Future)._isComplete) {
+ if (chainSource is _Future && chainSource._isComplete) {
// propagate the value (simulating a tail call).
listener._isChained = true;
source = chainSource;
« no previous file with comments | « dart/pkg/shadow_dom/lib/shadow_dom.min.js ('k') | dart/sdk/lib/core/errors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698