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 035830c commit 7d6cbf2Copy full SHA for 7d6cbf2
Examples/Sources/MacroExamples/Implementation/ComplexMacros/OptionSetMacro.swift
@@ -81,7 +81,7 @@ public struct OptionSetMacro {
81
attachedTo decl: some DeclGroupSyntax,
82
in context: some MacroExpansionContext,
83
emitDiagnostics: Bool
84
- ) -> (StructDeclSyntax, EnumDeclSyntax, TypeSyntax)? {
+ ) -> (StructDeclSyntax, EnumDeclSyntax, GenericArgumentSyntax.Argument)? {
85
// Determine the name of the options enum.
86
let optionsEnumName: String
87
if case let .argumentList(arguments) = attribute.arguments,
0 commit comments