| Index: pkg/compiler/lib/src/resolution/signatures.dart
|
| diff --git a/pkg/compiler/lib/src/resolution/signatures.dart b/pkg/compiler/lib/src/resolution/signatures.dart
|
| index a2bf56eb22bff91a0f29bfa498b9a041cfef1371..4dfd954ebcc8e55b643707a4b30e1211c7757a77 100644
|
| --- a/pkg/compiler/lib/src/resolution/signatures.dart
|
| +++ b/pkg/compiler/lib/src/resolution/signatures.dart
|
| @@ -5,8 +5,7 @@
|
| library dart2js.resolution.signatures;
|
|
|
| import '../compiler.dart' show
|
| - Compiler,
|
| - isPrivateName;
|
| + Compiler;
|
| import '../dart_types.dart';
|
| import '../diagnostics/invariant.dart' show
|
| invariant;
|
| @@ -112,7 +111,7 @@ class SignatureResolver extends MappingVisitor<FormalElementX> {
|
| void validateName(Identifier node) {
|
| if (isOptionalParameter &&
|
| optionalParametersAreNamed &&
|
| - isPrivateName(node.source)) {
|
| + Name.isPrivateName(node.source)) {
|
| compiler.reportError(node, MessageKind.PRIVATE_NAMED_PARAMETER);
|
| }
|
| }
|
|
|