| Index: sdk/lib/_internal/compiler/implementation/dart_types.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/dart_types.dart b/sdk/lib/_internal/compiler/implementation/dart_types.dart
|
| index 6f76fe64a4428268717040a82b7c05940215522f..6f0a248577d7e4ae1a6ae5f94ea93b4f17f7ece5 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/dart_types.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/dart_types.dart
|
| @@ -509,7 +509,9 @@ class InterfaceType extends GenericType {
|
| ClassElement classElement = element;
|
| InterfaceType receiver = this;
|
| InterfaceType declarer = receiver;
|
| - Element member = classElement.lookupLocalMember(name);
|
| + // TODO(johnniwinther): Lookup and callers should handle private members and
|
| + // injected members.
|
| + Element member = classElement.implementation.lookupLocalMember(name);
|
| if (member != null) {
|
| return createMember(receiver, declarer, member);
|
| }
|
| @@ -521,7 +523,7 @@ class InterfaceType extends GenericType {
|
| if (supertype.element.isMixinApplication) continue;
|
| declarer = supertype;
|
| ClassElement lookupTarget = declarer.element;
|
| - member = lookupTarget.lookupLocalMember(name);
|
| + member = lookupTarget.implementation.lookupLocalMember(name);
|
| if (member != null) {
|
| return createMember(receiver, declarer, member);
|
| }
|
|
|