Skip to content

Commit b8fb86a

Browse files
committed
Replace @retroactive annotation with fully qualified type name of protocol to support pre 6.0 compilers
Using fully qualified type names in retroactive conformances is viewed as equivalent to a @retroactive annotation by Swift 6 compilers, specifically for the usecase of writing backwards compatible code.
1 parent 5c89d3e commit b8fb86a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/GtkCodeGen/Extensions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Foundation
22

3-
extension String: @retroactive CodingKey {
3+
extension String: Swift.CodingKey {
44
public init?(intValue: Int) {
55
return nil
66
}

0 commit comments

Comments
 (0)