Files
swift-composable-architectu…/Sources/ComposableArchitectureMacros/Plugins.swift
Mason Kim 71cfb1ef2d Existential any to protocol for Swift 6 (#3370)
* 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>
2024-09-10 08:01:24 -07:00

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,
]
}