Skip to content

Commit 94d83b7

Browse files
authored
Merge pull request #196 from owenv/typo-fix
Capitalize SwiftPlaceholderModuleDetails type name
2 parents fba6877 + 7befd72 commit 94d83b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/SwiftDriver/Explicit Module Builds/InterModuleDependencyGraph.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public struct SwiftModuleDetails: Codable {
100100
}
101101

102102
/// Details specific to Swift external modules.
103-
public struct swiftPlaceholderModuleDetails: Codable {
103+
public struct SwiftPlaceholderModuleDetails: Codable {
104104
/// The path to the .swiftModuleDoc file.
105105
var moduleDocPath: String?
106106

@@ -141,7 +141,7 @@ public struct ModuleInfo: Codable {
141141

142142
/// Swift external modules carry additional details that specify their
143143
/// module doc path and source info paths.
144-
case swiftPlaceholder(swiftPlaceholderModuleDetails)
144+
case swiftPlaceholder(SwiftPlaceholderModuleDetails)
145145

146146
/// Clang modules are built from a module map file.
147147
case clang(ClangModuleDetails)
@@ -162,7 +162,7 @@ extension ModuleInfo.Details: Codable {
162162
self = .swift(details)
163163
} catch {
164164
do {
165-
let details = try container.decode(swiftPlaceholderModuleDetails.self, forKey: .swiftPlaceholder)
165+
let details = try container.decode(SwiftPlaceholderModuleDetails.self, forKey: .swiftPlaceholder)
166166
self = .swiftPlaceholder(details)
167167
} catch {
168168
let details = try container.decode(ClangModuleDetails.self, forKey: .clang)

0 commit comments

Comments
 (0)