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

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

Issue 10830303: Refactor Library/CompilationUnit and how we define local Scope. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix reference in dart2js_mirror.dart 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 a42b1d4e2dcd36f1570daadb293616b2f7d50d37..3d83fbd736262a7a8cd7643a19769694be8560a8 100644
--- a/lib/compiler/implementation/enqueue.dart
+++ b/lib/compiler/implementation/enqueue.dart
@@ -140,7 +140,7 @@ class Enqueuer {
}
void processInstantiatedClass(ClassElement cls) {
- cls.members.forEach(processInstantiatedClassMember);
+ cls.localMembers.forEach(processInstantiatedClassMember);
}
void registerFieldClosureInvocations() {
@@ -218,7 +218,7 @@ class Enqueuer {
if (seenClasses.contains(cls)) return;
seenClasses.add(cls);
cls.ensureResolved(compiler);
- cls.members.forEach(processInstantiatedClassMember);
+ cls.localMembers.forEach(processInstantiatedClassMember);
cls = cls.superclass;
}
});

Powered by Google App Engine
This is Rietveld 408576698