| Index: pkg/analyzer/lib/src/generated/resolver.dart
|
| diff --git a/pkg/analyzer/lib/src/generated/resolver.dart b/pkg/analyzer/lib/src/generated/resolver.dart
|
| index f033d5373e57d1aa5dc1645be810d36e50b8c7f3..bc8654af222cc3cf98577b3028221355e97b59f2 100644
|
| --- a/pkg/analyzer/lib/src/generated/resolver.dart
|
| +++ b/pkg/analyzer/lib/src/generated/resolver.dart
|
| @@ -11458,6 +11458,28 @@ class ResolverVisitor extends ScopedVisitor {
|
| return null;
|
| }
|
|
|
| + /**
|
| + * Implementation of this method should be synchronized with
|
| + * [visitClassDeclaration].
|
| + */
|
| + visitClassDeclarationIncrementally(ClassDeclaration node) {
|
| + //
|
| + // Resolve the metadata in the library scope.
|
| + //
|
| + if (node.metadata != null) {
|
| + node.metadata.accept(this);
|
| + }
|
| + _enclosingClassDeclaration = node;
|
| + //
|
| + // Continue the class resolution.
|
| + //
|
| + enclosingClass = node.element;
|
| + _typeAnalyzer.thisType =
|
| + enclosingClass == null ? null : enclosingClass.type;
|
| + node.accept(_elementResolver);
|
| + node.accept(_typeAnalyzer);
|
| + }
|
| +
|
| @override
|
| Object visitComment(Comment node) {
|
| if (node.parent is FunctionDeclaration ||
|
|
|