Skip to content

Commit 727b6d8

Browse files
Fix Swift 5.6 compilation issue
1 parent 9048ff1 commit 727b6d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SemanticVersion/SemanticVersion+Codable.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ extension JSONDecoder {
3838
}
3939
}
4040

41-
private extension [CodingUserInfoKey: Any] {
41+
private extension Dictionary where Key == CodingUserInfoKey, Value == Any {
4242
var semanticDecodingStrategy: SemanticVersionStrategy {
4343
get {
4444
(self[.semanticVersionStrategy] as? SemanticVersionStrategy) ?? .defaultCodable

0 commit comments

Comments
 (0)