mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Dependency Scanning] Pull required dependencies from the adjacent binary module for direct '@testable' interface dependencies
They may be a super-set of the ones that appear in the textual interface - e.g. 'internal' imports will be contained in the adjacent binary module, but not the textual interface
This commit is contained in:
@@ -420,7 +420,7 @@ SerializedModuleLoaderBase::getModuleImportsOfModule(
|
||||
/*debuggerMode*/ false,
|
||||
/*isPartialModule*/ false, packageName,
|
||||
loadedModuleFile->isTestable());
|
||||
if (dependencyTransitiveBehavior != transitiveBehavior)
|
||||
if (dependencyTransitiveBehavior > transitiveBehavior)
|
||||
continue;
|
||||
|
||||
// Find the top-level module name.
|
||||
|
||||
Reference in New Issue
Block a user