Index: pkg/analyzer/tool/summary/generate.dart |
diff --git a/pkg/analyzer/tool/summary/generate.dart b/pkg/analyzer/tool/summary/generate.dart |
index 124a6b89df3d2d72a5a00c8a6035cc64c2befbfd..b9616867146af987cc13a3be0efdbfac0ac31afc 100644 |
--- a/pkg/analyzer/tool/summary/generate.dart |
+++ b/pkg/analyzer/tool/summary/generate.dart |
@@ -119,7 +119,7 @@ class _CodeGenerator { |
} |
} |
Map<int, String> idsUsed = <int, String>{}; |
- for (idlModel.FieldDeclaration field in cls.fields) { |
+ for (idlModel.FieldDeclaration field in cls.allFields) { |
String fieldName = field.name; |
idlModel.FieldType type = field.type; |
if (type.isList) { |