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:
@@ -110,7 +110,8 @@ func debugCaseOutput(_ value: Any) -> String {
|
||||
}
|
||||
}
|
||||
|
||||
return "\(type(of: value))\(debugCaseOutputHelp(value))"
|
||||
return (value as? CustomDebugStringConvertible)?.debugDescription
|
||||
?? "\(type(of: value))\(debugCaseOutputHelp(value))"
|
||||
}
|
||||
|
||||
private func isUnlabeledArgument(_ label: String) -> Bool {
|
||||
|
||||
Reference in New Issue
Block a user