Index: sdk/lib/async/future_impl.dart |
diff --git a/sdk/lib/async/future_impl.dart b/sdk/lib/async/future_impl.dart |
index 14bac61ce77aeb5293a51c7d00c05f6ef4378dc9..8569cbf7a82277d1d8768148f0a5672669c2630a 100644 |
--- a/sdk/lib/async/future_impl.dart |
+++ b/sdk/lib/async/future_impl.dart |
@@ -136,7 +136,7 @@ class _FutureListener<S, T> { |
FutureOr<T> handleError(AsyncError asyncError) { |
assert(handlesError && hasErrorCallback); |
- if (errorCallback is ZoneBinaryCallback) { |
+ if (errorCallback is ZoneBinaryCallback<dynamic, Null, Null>) { |
floitsch
2017/08/31 07:54:52
Might as well use the correct type (see 2 lines be
|
var typedErrorCallback = errorCallback as Object |
/*=ZoneBinaryCallback<FutureOr<T>, Object, StackTrace>*/; |
return _zone.runBinary( |