[SR-15847] Circular required convenience init pattern not caught by compiler #58121
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
regression
SIL
swift 5.1
Environment
All OS, platforms and hardware on Swift 5.5.2
Additional Detail from JIRA
md5: 9f39cfcea60e60ce15f9f5b749a489f0
Issue Description:
class Foo {
required convenience init(x: Int) {
}
}
This circular init pattern is not caught by the compiler, but dropping the required or convenience individually gives a warning or error as expected.
The text was updated successfully, but these errors were encountered: