[SR-9094] Unavailable enum case with synthesized raw value causes error #51591
Labels
availability
The @available attribute and availability checking in general
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
conformances
Feature → protocol: protocol conformances
derived conformances
Feature → protocol → conformances: derived conformances aka synthesized conformances
enum
Feature → type declarations: Swift enumeration declarations
Additional Detail from JIRA
md5: 3956e1b34a5c5b310af7f0279053078c
relates to:
Issue Description:
The following code compiles as expected:
But this code leads to a compiler error:
Some initial investigation indicates the error is may be related to the synthesized
RawRepresentable
conformance tripping availability checkingThe text was updated successfully, but these errors were encountered: