Skip to content

Commit

Permalink
Updated macro name
Browse files Browse the repository at this point in the history
  • Loading branch information
Obbut committed Dec 7, 2023
1 parent 64d940a commit 1da65e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ public protocol DelegatingAction {

@attached(extension, conformances: DelegatingAction)
@attached(member, names: named(delegateAction))
public macro ActionWithDelegate() =
public macro DelegatingAction() =
#externalMacro(module: "ComposableArchitectureDelegatesMacros", type: "DelegatingActionMacro")
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public struct DelegatingActionMacro: ExtensionMacro, MemberMacro {
}

let decl: DeclSyntax = """
public var _delegateAction: \(delegateActionType.trimmed)? {
public var delegateAction: \(delegateActionType.trimmed)? {
guard case .delegate(let action) = self else { return nil }
return action
}
Expand Down

0 comments on commit 1da65e6

Please sign in to comment.