diff --git a/lib/src/model/library.dart b/lib/src/model/library.dart index 87b7317434..fa8edcf5b8 100644 --- a/lib/src/model/library.dart +++ b/lib/src/model/library.dart @@ -343,7 +343,6 @@ class Library extends ModelElement late final List allClasses = _exportedAndLocalElements .whereType() - .where((e) => e is! EnumElement && e is! MixinElement) .map((e) => packageGraph.getModelFor(e, this) as Class) .toList(growable: false);