| Index: lib/coreimpl/future_implementation.dart
|
| diff --git a/lib/coreimpl/future_implementation.dart b/lib/coreimpl/future_implementation.dart
|
| index 4146397680a4a4e44fbd6e06bd87bdf7a032ba3c..9f0cafff9e17d2e7a21b9ba0f101f081de5a1223 100644
|
| --- a/lib/coreimpl/future_implementation.dart
|
| +++ b/lib/coreimpl/future_implementation.dart
|
| @@ -159,7 +159,7 @@ class FutureImpl<T> implements Future<T> {
|
| void _setException(Object exception, Object stackTrace) {
|
| if (exception === null) {
|
| // null is not a legal value for the exception of a Future.
|
| - throw new IllegalArgumentException(null);
|
| + throw new ArgumentError(null);
|
| }
|
| if (_isComplete) {
|
| throw new FutureAlreadyCompleteException();
|
|
|