mirror of
https://github.com/pointfreeco/swift-composable-architecture.git
synced 2025-12-20 09:11:33 +01:00
21 lines
413 B
Swift
21 lines
413 B
Swift
import ComposableArchitecture
|
|
|
|
private enum TestObservableEnum_CompilerDirective {
|
|
@Reducer
|
|
struct ChildFeature {}
|
|
@ObservableState
|
|
public enum State {
|
|
case child(ChildFeature.State)
|
|
#if os(macOS)
|
|
case mac(ChildFeature.State)
|
|
#elseif os(tvOS)
|
|
case tv(ChildFeature.State)
|
|
#endif
|
|
#if DEBUG
|
|
#if INNER
|
|
case inner(ChildFeature.State)
|
|
#endif
|
|
#endif
|
|
}
|
|
}
|