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

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

Issue 2718643003: fix future onError handler wrapping to avoid cast error (Closed)
Patch Set: take 2 Created 3 years, 10 months 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 | « no previous file | sdk/lib/async/future_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/async/future.dart
diff --git a/sdk/lib/async/future.dart b/sdk/lib/async/future.dart
index 5b570c606f6869df24fbe6a621772e8f32634bf5..e765ee24b06464c34273d8a55d17948f047e30df 100644
--- a/sdk/lib/async/future.dart
+++ b/sdk/lib/async/future.dart
@@ -304,7 +304,7 @@ abstract class Future<T> {
StackTrace stackTrace; // The stackTrace that came with the error.
// Handle an error from any of the futures.
- void handleError(theError, theStackTrace) {
+ handleError(theError, theStackTrace) {
floitsch 2017/02/28 19:04:35 This looks like a temporary problem. The 'then' i
Jennifer Messerly 2017/02/28 19:23:31 sounds great! I'll add that TODO, does this look g
remaining--;
if (values != null) {
if (cleanUp != null) {
« no previous file with comments | « no previous file | sdk/lib/async/future_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698