Skip to content

Commit 4ac3a56

Browse files
committed
Fix sendable warnings
1 parent e77b169 commit 4ac3a56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/SwiftCompilerPluginMessageHandling/PluginMessages.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public enum PluginMessage {
102102
}
103103
}
104104

105-
public struct MacroReference: Codable {
105+
public struct MacroReference: Codable, Sendable {
106106
public var moduleName: String
107107
public var typeName: String
108108

@@ -116,7 +116,7 @@ public enum PluginMessage {
116116
}
117117
}
118118

119-
public enum MacroRole: String, Codable {
119+
public enum MacroRole: String, Codable, Sendable {
120120
case expression
121121
case declaration
122122
case accessor

0 commit comments

Comments
 (0)