[SR-14295] super.init allowed in static method #56654
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
SILGen
Area → compiler: The SIL generation stage
type checker
Area → compiler: Semantic analysis
Environment
Version 12.4 (12D4e)
Additional Detail from JIRA
md5: 754ea7ec0485c98fcb67ae8d8a3aabd5
Issue Description:
super.init()
here is dispatched statically but still creates an object of theSelf
type, allowing one to access uninitialized memory.The text was updated successfully, but these errors were encountered: