[SR-5200] IRGen Verification failure with classes inheriting from a Codable base class #47776
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
IRGen
LLVM IR generation
type checker
Area → compiler: Semantic analysis
Attachment: Download
Additional Detail from JIRA
md5: 31029bb214683d9de6ddd60bde8123ed
duplicates:
Issue Description:
I've managed to reduce a crash to the attached file. It seems to be something fishy with resolving the synthesized CodingKeys in the super or subclass.
Additionally, if I remove the
init(from🙂
in the superclass, I get a bad diagnostic saying I haven't implemented the requirement.The text was updated successfully, but these errors were encountered: