Chromium Code Reviews| Index: sdk/lib/async/future.dart |
| diff --git a/sdk/lib/async/future.dart b/sdk/lib/async/future.dart |
| index ab4b666965b2ebfedef5d92fdf948310fe408cb8..ac2b570692fecabb67fe777cb73edb7d3c52b815 100644 |
| --- a/sdk/lib/async/future.dart |
| +++ b/sdk/lib/async/future.dart |
| @@ -194,12 +194,15 @@ abstract class Future<T> { |
| // List collecting values from the futures. |
| // Set to null if an error occurs. |
| List values; |
| - void handleError(error) { |
| + |
| + handleError(error) { |
|
Lasse Reichstein Nielsen
2013/09/23 14:24:12
Without the "void" this looks too much like a func
floitsch
2013/09/23 17:12:07
It sticks nicely out in the editor. So syntax high
|
| if (values != null) { |
| values = null; |
| completer.completeError(error); |
| } |
| + return null; |
| } |
| + |
| // As each future completes, put its value into the corresponding |
| // position in the list of values. |
| int remaining = 0; |