| 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 c272ed1969f1ca6dad2030c4ab6a70ccb03073ad..bd25f67db5e44bb1c1c3c810ebe3b29987200d7c 100644
|
| --- a/pkg/analyzer/lib/src/generated/resolver.dart
|
| +++ b/pkg/analyzer/lib/src/generated/resolver.dart
|
| @@ -10223,6 +10223,9 @@ class NamespaceBuilder {
|
| for (PropertyAccessorElement element in compilationUnit.accessors) {
|
| _addIfPublic(definedNames, element);
|
| }
|
| + for (ClassElement element in compilationUnit.enums) {
|
| + _addIfPublic(definedNames, element);
|
| + }
|
| for (FunctionElement element in compilationUnit.functions) {
|
| _addIfPublic(definedNames, element);
|
| }
|
| @@ -11342,6 +11345,13 @@ class ResolverVisitor extends ScopedVisitor {
|
| }
|
|
|
| /**
|
| + * Prepares this [ResolverVisitor] to using it for incremental resolution.
|
| + */
|
| + void initForIncrementalResolution() {
|
| + _overrideManager.enterScope();
|
| + }
|
| +
|
| + /**
|
| * If it is appropriate to do so, override the current type of the static and propagated elements
|
| * associated with the given expression with the given type. Generally speaking, it is appropriate
|
| * if the given type is more specific than the current type.
|
| @@ -11588,13 +11598,6 @@ class ResolverVisitor extends ScopedVisitor {
|
| return null;
|
| }
|
|
|
| - /**
|
| - * Prepares this [ResolverVisitor] to using it for incremental resolution.
|
| - */
|
| - void initForIncrementalResolution() {
|
| - _overrideManager.enterScope();
|
| - }
|
| -
|
| @override
|
| Object visitCompilationUnit(CompilationUnit node) {
|
| //
|
|
|