swift-syntax icon indicating copy to clipboard operation
swift-syntax copied to clipboard

Emit error for `assertMacroExpansion` when applying an attached member macro to declaration that can’t have members

Open Rajveer100 opened this issue 1 year ago • 0 comments

Resolves Issue #2206

When we apply an attached member macro to a declaration that cannot have members, assertMacroExpansion fails to emit appropriate diagnostic message.

Rajveer100 avatar Dec 02 '23 08:12 Rajveer100