[SR-10734] RawRepresentable & Hashable #53126
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
standard library
Area: Standard library umbrella
Environment
Xcode 10.2.1 (Swift 5 release)
Swift 5.1 Toolchain (9th May)
Additional Detail from JIRA
md5: b92071aaba993a89203e3d7671922455
Issue Description:
When a type conforms to
RawRepresentable
it is unable to provide reliable customHashable
conformance.If conformance to
RawRepresentable
is removed, then theSet
example above is alwaystrue
.This appears to be a Swift 5 regression as Swift 4.1/2 does not exhibit this defect.
The text was updated successfully, but these errors were encountered: