mirror of
https://github.com/pointfreeco/swift-composable-architecture.git
synced 2025-12-14 20:35:56 +01:00
* Apply existential any to protocol for Swift 6 * Update Package@swift-6.0.swift * Update Package.swift * Apply any to Macro.Type * Apply any for the rest * Applying the any keyword internally for typealias in a _KeyPath * Undoing accidental syntax --------- Co-authored-by: Stephen Celis <stephen@stephencelis.com> Co-authored-by: Stephen Celis <stephen.celis@gmail.com>
17 lines
399 B
Swift
17 lines
399 B
Swift
import SwiftCompilerPlugin
|
|
import SwiftSyntaxMacros
|
|
|
|
@main
|
|
struct MacrosPlugin: CompilerPlugin {
|
|
let providingMacros: [any Macro.Type] = [
|
|
ObservableStateMacro.self,
|
|
ObservationStateTrackedMacro.self,
|
|
ObservationStateIgnoredMacro.self,
|
|
PresentsMacro.self,
|
|
ReducerMacro.self,
|
|
ReducerCaseEphemeralMacro.self,
|
|
ReducerCaseIgnoredMacro.self,
|
|
ViewActionMacro.self,
|
|
]
|
|
}
|