| Index: sdk/lib/core/errors.dart
|
| diff --git a/sdk/lib/core/errors.dart b/sdk/lib/core/errors.dart
|
| index 16f2ffb09934139627dd4ec0a84e388cd622b8ea..c774b6517cb298249a2eebdb88d98976dbc7d139 100644
|
| --- a/sdk/lib/core/errors.dart
|
| +++ b/sdk/lib/core/errors.dart
|
| @@ -159,9 +159,7 @@ class ArgumentError extends Error {
|
| * names differ from the interface, it might be more useful to use the
|
| * interface method's argument name (or just rename arguments to match).
|
| */
|
| - ArgumentError.value(value,
|
| - [String this.name,
|
| - String this.message])
|
| + ArgumentError.value(value, [this.name, this.message])
|
| : invalidValue = value,
|
| _hasValue = true;
|
|
|
| @@ -499,7 +497,7 @@ class UnsupportedError extends Error {
|
| */
|
| class UnimplementedError extends Error implements UnsupportedError {
|
| final String message;
|
| - UnimplementedError([String this.message]);
|
| + UnimplementedError([this.message]);
|
| String toString() => (this.message != null
|
| ? "UnimplementedError: $message"
|
| : "UnimplementedError");
|
|
|