Skip to content

Commit

Permalink
Fix Swift 5.6 compilation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseplettsonos committed Nov 13, 2023
1 parent 9048ff1 commit 727b6d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SemanticVersion/SemanticVersion+Codable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ extension JSONDecoder {
}
}

private extension [CodingUserInfoKey: Any] {
private extension Dictionary where Key == CodingUserInfoKey, Value == Any {
var semanticDecodingStrategy: SemanticVersionStrategy {
get {
(self[.semanticVersionStrategy] as? SemanticVersionStrategy) ?? .defaultCodable
Expand Down

0 comments on commit 727b6d8

Please sign in to comment.