mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Restore InputMode For Module Interface
This commit is contained in:
@@ -1142,6 +1142,8 @@ void InterfaceSubContextDelegateImpl::inheritOptionsForBuildingInterface(
|
||||
genericSubInvocation.setSDKPath(SearchPathOpts.SDKPath);
|
||||
}
|
||||
|
||||
genericSubInvocation.getFrontendOptions().InputMode
|
||||
= FrontendOptions::ParseInputMode::SwiftModuleInterface;
|
||||
if (!SearchPathOpts.RuntimeResourcePath.empty()) {
|
||||
genericSubInvocation.setRuntimeResourcePath(SearchPathOpts.RuntimeResourcePath);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user