Skip to content

Commit 86fe999

Browse files
neonichuMaxDesiatov
authored andcommitted
Package-level moduleAliases should be internal (#6917)
These were public for implementation reasons, likely because of how the old serialization code worked which I refactored in 5.9 fixes #6911
1 parent 168c239 commit 86fe999

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Sources/PackageDescription/PackageDependency.swift

+1-2
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,7 @@ extension Package {
8585

8686
/// Module aliases for targets in this dependency. The key is an original target name and
8787
/// the value is a new unique name mapped to the name of the .swiftmodule binary.
88-
@available(_PackageDescription, introduced: 5.7)
89-
public var moduleAliases: [String: String]?
88+
internal var moduleAliases: [String: String]?
9089

9190
/// The dependency requirement of the package dependency.
9291
@available(_PackageDescription, deprecated: 5.6, message: "use kind instead")

0 commit comments

Comments
 (0)