Index: pkg/compiler/lib/src/resolution/enum_creator.dart |
diff --git a/pkg/compiler/lib/src/resolution/enum_creator.dart b/pkg/compiler/lib/src/resolution/enum_creator.dart |
index aab9140f1884f3c8678c6aa0ba1b57acffd7c86b..72781d4afe0356c1d57d846d23ed307fb7c46372 100644 |
--- a/pkg/compiler/lib/src/resolution/enum_creator.dart |
+++ b/pkg/compiler/lib/src/resolution/enum_creator.dart |
@@ -257,7 +257,7 @@ class EnumCreator { |
EnumFormalElementX nameFormal; |
- List<Element> parameters = <Element>[indexFormal]; |
+ List<FormalElement> parameters = <FormalElement>[indexFormal]; |
List<ResolutionDartType> parameterTypes = <ResolutionDartType>[intType]; |
if (!matchKernelRepresentationForTesting) { |
nameFormal = new EnumFormalElementX(constructor, nameDefinition, |