Skip to content

Add a SendableMetatype conformance to Macro#3084

Merged
bnbarham merged 1 commit into
swiftlang:mainfrom
bnbarham:add-sendable-metatype
May 27, 2025
Merged

Add a SendableMetatype conformance to Macro#3084
bnbarham merged 1 commit into
swiftlang:mainfrom
bnbarham:add-sendable-metatype

Conversation

@bnbarham
Copy link
Copy Markdown
Contributor

Macro.Type is used in various Errors and since SE-0470, needs to conform to SendableMetatype.

@bnbarham bnbarham requested a review from DougGregor as a code owner May 24, 2025 00:33
@bnbarham
Copy link
Copy Markdown
Contributor Author

Open to putting the shim somewhere else, though since we only need it here right now 🤷

@bnbarham bnbarham force-pushed the add-sendable-metatype branch from 47880ff to 72f59a2 Compare May 24, 2025 00:37
@bnbarham
Copy link
Copy Markdown
Contributor Author

@swift-ci please test

Comment thread Sources/SwiftSyntaxMacros/MacroProtocols/Macro.swift
`Macro.Type` is used in various `Error`s and since SE-0470, needs to
conform to `SendableMetatype`.
@bnbarham bnbarham force-pushed the add-sendable-metatype branch from 72f59a2 to 0efe931 Compare May 27, 2025 04:53
@bnbarham
Copy link
Copy Markdown
Contributor Author

@swift-ci please test

@ahoppen
Copy link
Copy Markdown
Member

ahoppen commented May 27, 2025

@swift-ci Please test Windows

@bnbarham bnbarham merged commit e95026e into swiftlang:main May 27, 2025
27 checks passed
@bnbarham bnbarham deleted the add-sendable-metatype branch May 27, 2025 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants