Skip to content

Commit c9019d6

Browse files
committed
swift-inspect: mark some conformances as retroactive
This silences a couple of warnings in the swift-inspect build.
1 parent ea2c501 commit c9019d6

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

+2-2
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)