[SR-12878] Crash when Codable type contains a property of its own type #55325
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
type checker
Area → compiler: Semantic analysis
Additional Detail from JIRA
md5: 412154148f41f014585c290b3d5f40ec
Issue Description:
The following code crashes
swiftc
on both Swift 5.2 (Xcode 11.4) and the latest 2020-05-24 trunk snapshot. It should probably throw an error message or something more graceful.The text was updated successfully, but these errors were encountered: