Skip to content

Commit 7d6cbf2

Browse files
committed
Update OptionSetMacro.swift
1 parent 035830c commit 7d6cbf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Examples/Sources/MacroExamples/Implementation/ComplexMacros/OptionSetMacro.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public struct OptionSetMacro {
8181
attachedTo decl: some DeclGroupSyntax,
8282
in context: some MacroExpansionContext,
8383
emitDiagnostics: Bool
84-
) -> (StructDeclSyntax, EnumDeclSyntax, TypeSyntax)? {
84+
) -> (StructDeclSyntax, EnumDeclSyntax, GenericArgumentSyntax.Argument)? {
8585
// Determine the name of the options enum.
8686
let optionsEnumName: String
8787
if case let .argumentList(arguments) = attribute.arguments,

0 commit comments

Comments
 (0)