swift
1dd527ef - Sema: Fix crash when synthesizing RawRepresentable conformance with non-Equatable raw type

Commit
6 years ago
Sema: Fix crash when synthesizing RawRepresentable conformance with non-Equatable raw type The error recovery logic around derived conformances is a little bit tricky. Make sure we don't crash if a type explicitly provides a RawValue type witness that is not equatable, but omits the witnesses for init(rawValue:) and the rawValue property. Fixes <rdar://problem/58127114>.
Author
Committer
Parents
Loading