[SR-8795] Runtime crash due to compiler failing to detect non-exhaustive switch case over complex enum structure #51303
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
crash
Bug: A crash, i.e., an abnormal termination of software
run-time crash
Bug → crash: Swift code crashed during execution
Environment
Xcode 10.0 (10A255)
Apple Swift version 4.2 (swiftlang-1000.11.37.1 clang-1000.11.45.1)
Target: x86_64-apple-darwin17.7.0
Additional Detail from JIRA
md5: 1fb7e4afac4972a0c1f68207981435b1
Issue Description:
The following sample produces a runtime crash due to the switch not complaining about missing cases/default case
The text was updated successfully, but these errors were encountered: