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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.java

Issue 17826013: Use InheritanceManager to lookup 'iterator' getter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixes for review comments. Created 7 years, 6 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: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.java
index b61274f6e1554c287b9c18b4f2e73b4c03e87aa7..eac0e55e41336f4a890385f7e11b23465aa17cbb 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.java
@@ -969,10 +969,12 @@ public class AnalysisContextImpl implements InternalAnalysisContext {
//
// Resolve the rest of the structure
//
+ InheritanceManager inheritanceManager = new InheritanceManager(libraryElement);
ResolverVisitor resolverVisitor = new ResolverVisitor(
libraryElement,
unitSource,
typeProvider,
+ inheritanceManager,
errorListener);
unitAST.accept(resolverVisitor);
//
@@ -983,7 +985,7 @@ public class AnalysisContextImpl implements InternalAnalysisContext {
errorReporter,
libraryElement,
typeProvider,
- new InheritanceManager(libraryElement));
+ inheritanceManager);
unitAST.accept(errorVerifier);
ConstantVerifier constantVerifier = new ConstantVerifier(errorReporter, typeProvider);

Powered by Google App Engine
This is Rietveld 408576698