Skip to content

Commit bacbdc8

Browse files
committed
Remove only the direct read of parts
1 parent 6250ee7 commit bacbdc8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

source_gen/lib/src/library.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,10 @@ class LibraryReader {
3737
Iterable<Element> get allElements => [
3838
element,
3939
...element.topLevelElements,
40-
...element.definingCompilationUnit.libraryImports,
41-
...element.definingCompilationUnit.libraryExports,
40+
// ignore: deprecated_member_use
41+
...element.libraryImports,
42+
// ignore: deprecated_member_use
43+
...element.libraryExports,
4244
...element.definingCompilationUnit.parts,
4345
];
4446

0 commit comments

Comments
 (0)