Skip to content

Commit 8c45512

Browse files
authored
Merge pull request #350 from xymus/preserve-nested-types-in-emit-module
Preserve nested type info in swiftmodule files generated by the emit-module job
2 parents b6f7956 + a483833 commit 8c45512

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftDriver/Jobs/EmitModuleJob.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ extension Driver {
5757
TypedVirtualPath(file: moduleOutputPath, type: .swiftModule)
5858
]
5959

60-
commandLine.appendFlags("-frontend", "-emit-module", "-experimental-skip-non-inlinable-function-bodies")
60+
commandLine.appendFlags("-frontend", "-emit-module", "-experimental-skip-non-inlinable-function-bodies-without-types")
6161

6262
let swiftInputFiles = inputFiles.filter { $0.type.isPartOfSwiftCompilation }
6363

0 commit comments

Comments
 (0)