Skip to content

Commit e06f7e3

Browse files
authored
Merge pull request #2679 from apple/jed/sendable-macrospec
Mark MacroSpec as Sendable
2 parents 4d300ac + 08d2788 commit e06f7e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftSyntaxMacroExpansion/MacroSpec.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import SwiftSyntaxMacros
2121
/// The information of a macro declaration, to be used with `assertMacroExpansion`.
2222
///
2323
/// In addition to specifying the macro’s type, this allows the specification of conformances that will be passed to the macro’s `expansion` function.
24-
public struct MacroSpec {
24+
public struct MacroSpec: Sendable {
2525
/// The type of macro.
2626
let type: Macro.Type
2727
/// The list of types for which the macro needs to add conformances.

0 commit comments

Comments
 (0)