Closed ShivaHuang closed 3 years ago
Declare the deprecated case .none as a static constant instead a case value. Thus we don't need to list .none in a switch state to make it exhaustive, like line 106.
.none
Declare the deprecated case
.none
as a static constant instead a case value. Thus we don't need to list.none
in a switch state to make it exhaustive, like line 106.