mirror of
https://github.com/pointfreeco/swift-composable-architecture.git
synced 2025-12-24 12:14:25 +01:00
Runtime Warning Finesse (#1023)
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
import SwiftUI
|
||||
|
||||
#if DEBUG
|
||||
import os
|
||||
#endif
|
||||
|
||||
/// A view that can switch over a store of enum state and handle each case.
|
||||
///
|
||||
/// An application may model parts of its state with enums. For example, app state may differ if a
|
||||
@@ -1201,8 +1197,7 @@ public struct _ExhaustivityCheckView<State, Action>: View {
|
||||
.background(Color.red.edgesIgnoringSafeArea(.all))
|
||||
.onAppear {
|
||||
#if DEBUG
|
||||
os_log(
|
||||
.fault, dso: rw.dso, log: rw.log,
|
||||
runtimeWarning(
|
||||
"""
|
||||
SwitchStore@%@:%d does not handle the current case. …
|
||||
|
||||
|
||||
Reference in New Issue
Block a user