[SR-13148] Add special-case diagnostic when detecting request for Comparable synthesis for structs #55595
Labels
compiler
The Swift compiler in itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
improvement
type checker
Area → compiler: Semantic analysis
Additional Detail from JIRA
md5: 4bb991b5e9e2dccaaee344947a743120
Issue Description:
Maybe it should look something like (straw-man suggestion):
Bit of a tangent but... this limitation is just plain weird, given that we support Comparable derivation for enums with associated fields:
Should one use single-case enums instead of structgs to get the sweet, sweet conformance synthesis? �
The text was updated successfully, but these errors were encountered: