We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efbd09f commit 1a8726bCopy full SHA for 1a8726b
Sources/SwiftSyntaxMacros/MacroReplacement.swift
@@ -275,8 +275,8 @@ extension MacroDeclSyntax {
275
/// Given a freestanding macro expansion syntax node that references this
276
/// macro declaration, expand the macro by substituting the arguments from
277
/// the macro expansion into the parameters that are used in the definition.
278
- public func expand(
279
- _ node: some FreestandingMacroExpansionSyntax,
+ public func expand<Node: FreestandingMacroExpansionSyntax>(
+ _ node: Node,
280
definition: MacroExpansionExprSyntax,
281
replacements: [MacroDefinition.Replacement]
282
) -> ExprSyntax {
0 commit comments