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

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

Issue 10832203: Refactor Library/CompilationUnit and how we define local Scope. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase and refactor ClassElement.constructors. Created 8 years, 4 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/enqueue.dart
diff --git a/lib/compiler/implementation/enqueue.dart b/lib/compiler/implementation/enqueue.dart
index 41ce5f663a8d38f73ce005174ae30f4e1f226868..75e8064ac30c58a9adc555c0b521d541fa94ff02 100644
--- a/lib/compiler/implementation/enqueue.dart
+++ b/lib/compiler/implementation/enqueue.dart
@@ -137,7 +137,7 @@ class Enqueuer {
}
void processInstantiatedClass(ClassElement cls) {
- cls.members.forEach(processInstantiatedClassMember);
+ cls.localMembers.forEach(processInstantiatedClassMember);
}
void registerFieldClosureInvocations() {
@@ -217,7 +217,7 @@ class Enqueuer {
// TODO(ahe): Don't call resolveType, instead, call this method
// when resolveType is called.
compiler.resolveClass(cls);
- cls.members.forEach(processInstantiatedClassMember);
+ cls.localMembers.forEach(processInstantiatedClassMember);
cls = cls.superclass;
}
});
« no previous file with comments | « lib/compiler/implementation/elements/elements.dart ('k') | lib/compiler/implementation/js_backend/native_emitter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698