Sendability meant losing the Enum.case shorthand for { Enum.case($0) }, which meant introducing a warning when type(of: $0) == Never.self. Looks like we can suppress this warning, though, and it also luckily looks like this only affects embedding Never directly (embedding enums that only contain Never does not trigger a warning).
Sendability meant losing the
Enum.case
shorthand for{ Enum.case($0) }
, which meant introducing a warning whentype(of: $0) == Never.self
. Looks like we can suppress this warning, though, and it also luckily looks like this only affects embeddingNever
directly (embedding enums that only containNever
does not trigger a warning).