Index: sdk/lib/async/future_impl.dart |
diff --git a/sdk/lib/async/future_impl.dart b/sdk/lib/async/future_impl.dart |
index 51aff36d96c95f7cd886ffc08f7ed77edda5560e..0d687b1db2953df7cedd1fd09b1ac119288365e7 100644 |
--- a/sdk/lib/async/future_impl.dart |
+++ b/sdk/lib/async/future_impl.dart |
@@ -627,11 +627,7 @@ class _Future<T> implements Future<T> { |
try { |
listenerValueOrError = listener.handleValue(sourceResult); |
} catch (e, s) { |
- if (identical(source._error.error, e)) { |
- listenerValueOrError = source._error; |
- } else { |
- listenerValueOrError = new AsyncError(e, s); |
- } |
+ listenerValueOrError = new AsyncError(e, s); |
listenerHasError = true; |
} |
} |