From 71adb6d38c630de9b19807785b23ca51850d1d4f Mon Sep 17 00:00:00 2001 From: Sam Rawlins Date: Wed, 3 Apr 2024 12:02:39 -0700 Subject: [PATCH] Correct a small unnecessary chunk in Library.allClasses --- lib/src/model/library.dart | 1 - 1 file changed, 1 deletion(-) 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);