Skip to content

Commit cc0a74d

Browse files
committed
Enable import of the _Concurrency module by default.
1 parent fbe2ca9 commit cc0a74d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/Frontend/Frontend.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -754,8 +754,7 @@ CompilerInstance::openModuleDoc(const InputFile &input) {
754754
}
755755

756756
bool CompilerInvocation::shouldImportSwiftConcurrency() const {
757-
return getLangOptions().EnableExperimentalConcurrency
758-
&& !getLangOptions().DisableImplicitConcurrencyModuleImport &&
757+
return !getLangOptions().DisableImplicitConcurrencyModuleImport &&
759758
getFrontendOptions().InputMode !=
760759
FrontendOptions::ParseInputMode::SwiftModuleInterface;
761760
}

0 commit comments

Comments
 (0)