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 5fd1a68132ea447495b78fc21888bf0f40cc3b97..c73a926961a18ed4dd088b18acfb86db26089235 100644 |
--- a/pkg/compiler/lib/src/resolution/enum_creator.dart |
+++ b/pkg/compiler/lib/src/resolution/enum_creator.dart |
@@ -282,7 +282,8 @@ class EnumCreator { |
VariableList valuesVariableList = |
new VariableList(builder.modifiers(isStatic: true, isConst: true)); |
- valuesVariableList.type = commonElements.listType(enumType); |
+ ResolutionInterfaceType valuesType = commonElements.listType(enumType); |
+ valuesVariableList.type = valuesType; |
Identifier valuesIdentifier = builder.identifier('values'); |
// TODO(johnniwinther): Add type argument. |