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

Unified Diff: pkg/analyzer/lib/src/generated/incremental_resolver.dart

Issue 757193002: Fix for resolving super.method() invocations. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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: pkg/analyzer/lib/src/generated/incremental_resolver.dart
diff --git a/pkg/analyzer/lib/src/generated/incremental_resolver.dart b/pkg/analyzer/lib/src/generated/incremental_resolver.dart
index c487e2e0a4a0b538828c823317ad1533874a8766..6fb986b82412a7ca04b14768997c778140eb81e0 100644
--- a/pkg/analyzer/lib/src/generated/incremental_resolver.dart
+++ b/pkg/analyzer/lib/src/generated/incremental_resolver.dart
@@ -785,7 +785,10 @@ class IncrementalResolver {
_typeProvider,
_resolutionContext.scope,
errorListener);
- visitor.enclosingClass = _resolutionContext.enclosingClass;
+ if (_resolutionContext.enclosingClassDeclaration != null) {
+ visitor.visitClassDeclarationIncrementally(
+ _resolutionContext.enclosingClassDeclaration);
+ }
node.accept(visitor);
}
// remember errors
@@ -827,7 +830,7 @@ class IncrementalResolver {
_typeProvider,
new InheritanceManager(_definingLibrary));
if (_resolutionContext.enclosingClassDeclaration != null) {
- errorVerifier.initClassDeclaration(
+ errorVerifier.visitClassDeclarationIncrementally(
_resolutionContext.enclosingClassDeclaration);
}
node.accept(errorVerifier);

Powered by Google App Engine
This is Rietveld 408576698