mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Serialization] Remove treatAsPartialModule parameter
This information can be derived from whether we're installing the module file into the main module.
This commit is contained in:
@@ -839,8 +839,7 @@ bool CompilerInstance::loadPartialModulesAndImplicitImports() {
|
||||
assert(PM.ModuleBuffer);
|
||||
if (!SML->loadAST(*MainModule, SourceLoc(), /*moduleInterfacePath*/"",
|
||||
std::move(PM.ModuleBuffer), std::move(PM.ModuleDocBuffer),
|
||||
std::move(PM.ModuleSourceInfoBuffer), /*isFramework*/false,
|
||||
/*treatAsPartialModule*/true))
|
||||
std::move(PM.ModuleSourceInfoBuffer), /*isFramework*/false))
|
||||
hadLoadError = true;
|
||||
}
|
||||
return hadLoadError;
|
||||
|
||||
Reference in New Issue
Block a user