Skip to content

Commit 44a9968

Browse files
neonichuaciidgh
authored andcommitted
[PackageModel] Make Declaration.name public
Clients might want to transform build settings to strings directly and it seems wasteful to require clients to use switch/case to get the names back. rdar://problem/46365485
1 parent 0f2710d commit 44a9968

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/PackageModel/BuildSettings.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public enum BuildSettings {
4646
public static let LINK_FRAMEWORKS: Declaration = .init("LINK_FRAMEWORKS")
4747

4848
/// The declaration name.
49-
private let name: String
49+
public let name: String
5050

5151
private init(_ name: String) {
5252
self.name = name

0 commit comments

Comments
 (0)