| Index: pkg/analyzer/lib/src/summary/resynthesize.dart
|
| diff --git a/pkg/analyzer/lib/src/summary/resynthesize.dart b/pkg/analyzer/lib/src/summary/resynthesize.dart
|
| index 214861a7a3821c53366f1d77111ad5f2bcc357c2..260e5b355d79d81301e1196d69c485523f188a3d 100644
|
| --- a/pkg/analyzer/lib/src/summary/resynthesize.dart
|
| +++ b/pkg/analyzer/lib/src/summary/resynthesize.dart
|
| @@ -1157,7 +1157,7 @@ class _LibraryResynthesizer {
|
| valuesField.const3 = true;
|
| valuesField.static = true;
|
| valuesField.type = summaryResynthesizer.typeProvider.listType
|
| - .substitute4(<DartType>[enumType]);
|
| + .instantiate(<DartType>[enumType]);
|
| memberHolder.addField(valuesField);
|
| buildImplicitAccessors(valuesField, memberHolder);
|
| // Build fields for all enum constants.
|
|
|