Skip to content

Commit 1e2dcc0

Browse files
authored
Merge pull request #78828 from compnerd/retroactive
swift-inspect: mark some conformances as retroactive
2 parents 740f0b2 + c9019d6 commit 1e2dcc0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/swift-inspect/Sources/swift-inspect/RemoteMirror+Extensions.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
import SwiftRemoteMirror
1414

15-
extension swift_metadata_allocation_t: Encodable {
15+
extension swift_metadata_allocation_t: @retroactive Encodable {
1616
internal var tag: swift_metadata_allocation_tag_t { return self.Tag }
1717
internal var ptr: swift_reflection_ptr_t { return self.Ptr }
1818
internal var size: Int { return Int(self.Size) }
@@ -29,7 +29,7 @@ extension swift_metadata_allocation_t: Encodable {
2929
}
3030
}
3131

32-
extension swift_metadata_allocation_t: Comparable {
32+
extension swift_metadata_allocation_t: @retroactive Comparable {
3333
public static func == (lhs: Self, rhs: Self) -> Bool {
3434
lhs.ptr == rhs.ptr
3535
}

0 commit comments

Comments
 (0)