mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Revert "Enable import of the _Concurrency module by default."
This commit is contained in:
committed by
GitHub
parent
f85633a3e5
commit
9286ece71c
@@ -754,7 +754,8 @@ CompilerInstance::openModuleDoc(const InputFile &input) {
|
||||
}
|
||||
|
||||
bool CompilerInvocation::shouldImportSwiftConcurrency() const {
|
||||
return !getLangOptions().DisableImplicitConcurrencyModuleImport &&
|
||||
return getLangOptions().EnableExperimentalConcurrency
|
||||
&& !getLangOptions().DisableImplicitConcurrencyModuleImport &&
|
||||
getFrontendOptions().InputMode !=
|
||||
FrontendOptions::ParseInputMode::SwiftModuleInterface;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user