| Index: sdk/lib/_internal/compiler/implementation/typechecker.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/typechecker.dart b/sdk/lib/_internal/compiler/implementation/typechecker.dart
|
| index 5efc577f4ed512dfce610e2fe02015a0998f0cb0..5249a6e768f1605a59f42c4c22383764282bac2d 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/typechecker.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/typechecker.dart
|
| @@ -983,10 +983,7 @@ class TypeCheckerVisitor extends Visitor<DartType> {
|
| Element element = elements[node.send];
|
| if (Elements.isUnresolved(element)) return types.dynamicType;
|
|
|
| - ClassElement enclosingClass = element.getEnclosingClass();
|
| - SourceString name = Elements.deconstructConstructorName(
|
| - element.name, enclosingClass);
|
| - checkPrivateAccess(node, element, name);
|
| + checkPrivateAccess(node, element, element.name);
|
|
|
| DartType newType = elements.getType(node);
|
| DartType constructorType = computeConstructorType(element, newType);
|
|
|