mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Dependency Scan] On cross-import overlay discovery, do not exit on main module...
This commit is contained in:
@@ -800,7 +800,7 @@ void ModuleDependencyScanner::discoverCrossImportOverlayDependencies(
|
||||
auto moduleName = dependencyId.ModuleName;
|
||||
// Do not look for overlays of main module under scan
|
||||
if (moduleName == mainModuleName)
|
||||
return;
|
||||
continue;
|
||||
// check if any explicitly imported modules can serve as a
|
||||
// secondary module, and add the overlay names to the
|
||||
// dependencies list.
|
||||
|
||||
Reference in New Issue
Block a user