File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 31
31
///
32
32
/// The actual functionality is implemented either in the generated code or in
33
33
/// default implementations of the below methods and properties.
34
- public protocol Message : _MessageBase {
34
+ public protocol Message : _CommonMessageConformances {
35
35
/// Creates a new message with all of its fields initialized to their default
36
36
/// values.
37
37
init ( )
@@ -113,9 +113,10 @@ public protocol Message: _MessageBase {
113
113
}
114
114
115
115
#if DEBUG
116
- public protocol _MessageBase : Sendable , CustomDebugStringConvertible { }
116
+ public typealias _CommonMessageConformances =
117
+ Sendable & CustomDebugStringConvertible
117
118
#else
118
- public protocol _MessageBase : Sendable { }
119
+ public typealias _CommonMessageConformances = Sendable
119
120
#endif
120
121
121
122
extension Message {
You can’t perform that action at this time.
0 commit comments