mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[NCGenerics] require associated type inference when rebuilding module
This commit is contained in:
@@ -1641,9 +1641,12 @@ void InterfaceSubContextDelegateImpl::inheritOptionsForBuildingInterface(
|
||||
GenericArgs.push_back("-disable-availability-checking");
|
||||
}
|
||||
|
||||
if (bool(requireNCGenerics))
|
||||
if (bool(requireNCGenerics)) {
|
||||
genericSubInvocation.getLangOptions()
|
||||
.enableFeature(Feature::NoncopyableGenerics);
|
||||
genericSubInvocation.getLangOptions()
|
||||
.EnableExperimentalAssociatedTypeInference = true;
|
||||
}
|
||||
|
||||
// Pass-down the obfuscators so we can get the serialized search paths properly.
|
||||
genericSubInvocation.setSerializedPathObfuscator(
|
||||
|
||||
Reference in New Issue
Block a user