Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(764)

Unified Diff: sdk/lib/_internal/compiler/implementation/dart_types.dart

Issue 15301003: Revert r22847: some dart2dart tests fail. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/compiler/implementation/dart_types.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/dart_types.dart (revision 22847)
+++ sdk/lib/_internal/compiler/implementation/dart_types.dart (working copy)
@@ -521,9 +521,7 @@
ClassElement classElement = element;
InterfaceType receiver = this;
InterfaceType declarer = receiver;
- // TODO(johnniwinther): Lookup and callers should handle private members and
- // injected members.
- Element member = classElement.implementation.lookupLocalMember(name);
+ Element member = classElement.lookupLocalMember(name);
if (member != null) {
return createMember(receiver, declarer, member);
}
@@ -535,7 +533,7 @@
if (supertype.element.isMixinApplication) continue;
declarer = supertype;
ClassElement lookupTarget = declarer.element;
- member = lookupTarget.implementation.lookupLocalMember(name);
+ member = lookupTarget.lookupLocalMember(name);
if (member != null) {
return createMember(receiver, declarer, member);
}

Powered by Google App Engine
This is Rietveld 408576698