Skip to content

Commit 963b4e6

Browse files
authored
Merge pull request swiftlang#34640 from DougGregor/no-implicit-concurrency-module-build
2 parents 8474332 + ff14a40 commit 963b4e6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/Frontend/Frontend.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,9 @@ CompilerInstance::openModuleDoc(const InputFile &input) {
709709

710710
bool CompilerInvocation::shouldImportSwiftConcurrency() const {
711711
return getLangOptions().EnableExperimentalConcurrency
712-
&& !getLangOptions().DisableImplicitConcurrencyModuleImport;
712+
&& !getLangOptions().DisableImplicitConcurrencyModuleImport &&
713+
getFrontendOptions().InputMode !=
714+
FrontendOptions::ParseInputMode::SwiftModuleInterface;
713715
}
714716

715717
/// Implicitly import the SwiftOnoneSupport module in non-optimized

0 commit comments

Comments
 (0)