Skip to content

Commit a2eaf5b

Browse files
authored
fix: swift 5.9 parameter packs incorrect reconstructed type
refs: swiftlang/swift#67051 (comment)
1 parent e071777 commit a2eaf5b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Package.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ let package = Package(
3232
// Enable better optimizations when building in Release configuration. Despite the use of
3333
// the `.unsafeFlags` construct required by SwiftPM, this flag is recommended for Release
3434
// builds. See <https://www.swift.org/server/guides/building.html#building-for-production> for details.
35+
.unsafeFlags(["-disable-round-trip-debug-types"], .when(platforms: [.macOS])),
3536
.unsafeFlags(["-cross-module-optimization"], .when(configuration: .release))
3637
]
3738
)

0 commit comments

Comments
 (0)