mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Tweak diagnostic for failed module interface verification
This commit is contained in:
@@ -200,9 +200,9 @@ bool ModuleInterfaceBuilder::buildSwiftModuleInternal(
|
||||
getSwiftInterfaceCompilerVersionForCurrentCompiler(
|
||||
SubInstance.getASTContext());
|
||||
StringRef emittedByCompiler = info.CompilerVersion;
|
||||
diagnose(diag::module_interface_build_failed, moduleName,
|
||||
emittedByCompiler == builtByCompiler, emittedByCompiler,
|
||||
builtByCompiler);
|
||||
diagnose(diag::module_interface_build_failed, isTypeChecking,
|
||||
moduleName, emittedByCompiler == builtByCompiler,
|
||||
emittedByCompiler, builtByCompiler);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user