| Index: dart/sdk/lib/_internal/compiler/implementation/resolution/signatures.dart
|
| diff --git a/dart/sdk/lib/_internal/compiler/implementation/resolution/signatures.dart b/dart/sdk/lib/_internal/compiler/implementation/resolution/signatures.dart
|
| index b9d9fd9bb4489c24bab317f7a75f7894ee8662b6..feedce14cdb9141feac2039bb2f9d91702ba9f9c 100644
|
| --- a/dart/sdk/lib/_internal/compiler/implementation/resolution/signatures.dart
|
| +++ b/dart/sdk/lib/_internal/compiler/implementation/resolution/signatures.dart
|
| @@ -199,7 +199,7 @@ class SignatureResolver extends MappingVisitor<ParameterElementX> {
|
| }
|
| Node defaultValue = node.arguments.head;
|
| if (!defaultValuesAllowed) {
|
| - error(defaultValue, defaultValuesError);
|
| + compiler.reportError(defaultValue, defaultValuesError);
|
| }
|
| // Visit the value. The compile time constant handler will
|
| // make sure it's a compile time constant.
|
|
|