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

Unified Diff: lib/compiler/implementation/world.dart

Issue 10905305: Patch refactoring. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased. Created 8 years, 2 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: lib/compiler/implementation/world.dart
diff --git a/lib/compiler/implementation/world.dart b/lib/compiler/implementation/world.dart
index 4ff3eb388806e7dc0014b3cbaced68b2a823bdd8..1cdd7f478fd475d387d71209aecd720d9e2a3882 100644
--- a/lib/compiler/implementation/world.dart
+++ b/lib/compiler/implementation/world.dart
@@ -112,7 +112,7 @@ class World {
SourceString name = selector.name;
LibraryElement library = selector.library;
MemberSet result = new MemberSet(name);
- Element element = cls.lookupSelector(selector);
+ Element element = cls.implementation.lookupSelector(selector);
if (element !== null) result.add(element);
bool isPrivate = name.isPrivate();
@@ -121,7 +121,7 @@ class World {
for (ClassElement sub in subtypesOfCls) {
// Private members from a different library are not visible.
if (isPrivate && sub.getLibrary() != library) continue;
- element = sub.lookupLocalMember(name);
+ element = sub.implementation.lookupLocalMember(name);
if (element !== null) result.add(element);
}
}
@@ -136,7 +136,7 @@ class World {
VariableElement locateSingleField(DartType type, Selector selector) {
MemberSet memberSet = _memberSetFor(type, selector);
ClassElement cls = type.element;
- Element result = cls.lookupSelector(selector);
+ Element result = cls.implementation.lookupSelector(selector);
if (result == null) return null;
if (!result.isField()) return null;

Powered by Google App Engine
This is Rietveld 408576698