| Index: pkg/analyzer/lib/src/generated/element.dart
|
| diff --git a/pkg/analyzer/lib/src/generated/element.dart b/pkg/analyzer/lib/src/generated/element.dart
|
| index b900c6495dcdaa706779b161d072cab0254d06dc..91d8575f9d6a4d6335c30796bb02c4eea90ef9a6 100644
|
| --- a/pkg/analyzer/lib/src/generated/element.dart
|
| +++ b/pkg/analyzer/lib/src/generated/element.dart
|
| @@ -2086,6 +2086,11 @@ class CompilationUnitElementImpl extends UriReferencedElementImpl implements Com
|
| return type as ClassElementImpl;
|
| }
|
| }
|
| + for (ClassElement type in _enums) {
|
| + if ((type as ClassElementImpl).identifier == identifier) {
|
| + return type as ClassElementImpl;
|
| + }
|
| + }
|
| return null;
|
| }
|
|
|
|
|