[SR-6853] Segfault when two cases have the same name in an enum with generated Equatable conformance #49402
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
conformances
Feature → protocol: protocol conformances
crash
Bug: A crash, i.e., an abnormal termination of software
declarations
Feature: declarations
derived conformances
Feature → protocol → conformances: derived conformances aka synthesized conformances
enum cases
Feature → enums: Enum cases
enum
Feature → type declarations: Swift enumeration declarations
Equatable
Area → standard library: The `Equatable` protocol
overloading
Feature: Overloading symbol names
protocol
Feature → type declarations: Protocol declarations
swift 4.1
type checker
Area → compiler: Semantic analysis
Additional Detail from JIRA
md5: 803224f888a9a93b76da1719e3f9bb9e
Issue Description:
In Xcode 9Q98q, the following code
results in the following segfault:
The text was updated successfully, but these errors were encountered: