Skip to content

Commit

Permalink
Remove only the direct read of parts
Browse files Browse the repository at this point in the history
  • Loading branch information
natebosch committed Oct 10, 2024
1 parent 6250ee7 commit bacbdc8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions source_gen/lib/src/library.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ class LibraryReader {
Iterable<Element> get allElements => [
element,
...element.topLevelElements,
...element.definingCompilationUnit.libraryImports,
...element.definingCompilationUnit.libraryExports,
// ignore: deprecated_member_use
...element.libraryImports,
// ignore: deprecated_member_use
...element.libraryExports,
...element.definingCompilationUnit.parts,
];

Expand Down

0 comments on commit bacbdc8

Please sign in to comment.