We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3de6754 commit 57d484fCopy full SHA for 57d484f
lib/src/builder.dart
@@ -474,8 +474,8 @@ class _MockTargetGatherer {
474
final mockTargets = <_MockTarget>{};
475
476
final possiblyAnnotatedElements = [
477
- ...entryLib.libraryExports,
478
- ...entryLib.libraryImports,
+ ...entryLib.definingCompilationUnit.libraryExports,
+ ...entryLib.definingCompilationUnit.libraryImports,
479
...entryLib.topLevelElements,
480
];
481
0 commit comments