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 766d42f49fe10d91be346844ae16c9ebde805feb..a6e8d7903c69300ef9dc4d518456d85a65df0204 100644 |
--- a/pkg/analyzer/lib/src/generated/resolver.dart |
+++ b/pkg/analyzer/lib/src/generated/resolver.dart |
@@ -3346,7 +3346,7 @@ class EnumMemberBuilder extends RecursiveAstVisitor<Object> { |
// |
// Finish building the enum. |
// |
- ClassElementImpl enumElement = node.name.staticElement as ClassElementImpl; |
+ EnumElementImpl enumElement = node.name.staticElement as EnumElementImpl; |
InterfaceType enumType = enumElement.type; |
enumElement.supertype = _typeProvider.objectType; |
// |