mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Don't blow up when an adapter's underlying module is missing.
Instead, emit a specific error, along with the same "SDK is missing" note from the last commit. Swift SVN r12416
This commit is contained in:
@@ -1156,7 +1156,6 @@ Module *ModuleFile::getModule(Identifier name) {
|
||||
assert(importer && "no way to import shadowed module");
|
||||
ShadowedModule = importer->loadModule(SourceLoc(),
|
||||
std::make_pair(name, SourceLoc()));
|
||||
assert(ShadowedModule && "missing shadowed module");
|
||||
}
|
||||
|
||||
return ShadowedModule;
|
||||
|
||||
Reference in New Issue
Block a user