Skip to content

Capitalize SwiftPlaceholderModuleDetails type name #196

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 10, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public struct SwiftModuleDetails: Codable {
}

/// Details specific to Swift external modules.
public struct swiftPlaceholderModuleDetails: Codable {
public struct SwiftPlaceholderModuleDetails: Codable {
/// The path to the .swiftModuleDoc file.
var moduleDocPath: String?

Expand Down Expand Up @@ -141,7 +141,7 @@ public struct ModuleInfo: Codable {

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

/// Clang modules are built from a module map file.
case clang(ClangModuleDetails)
Expand All @@ -162,7 +162,7 @@ extension ModuleInfo.Details: Codable {
self = .swift(details)
} catch {
do {
let details = try container.decode(swiftPlaceholderModuleDetails.self, forKey: .swiftPlaceholder)
let details = try container.decode(SwiftPlaceholderModuleDetails.self, forKey: .swiftPlaceholder)
self = .swiftPlaceholder(details)
} catch {
let details = try container.decode(ClangModuleDetails.self, forKey: .clang)
Expand Down