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 ecee2ba0a21f362a9597705684b6836750e0f523..1b94d1e25946761a170f3103cec806fb10209fcc 100644 |
--- a/sdk/lib/_internal/compiler/implementation/dart_types.dart |
+++ b/sdk/lib/_internal/compiler/implementation/dart_types.dart |
@@ -521,7 +521,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); |
} |
@@ -533,7 +535,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); |
} |