Open
Description
Previous ID | SR-15847 |
Radar | rdar://problem/89076581 |
Original Reporter | Kaspra (JIRA User) |
Type | Bug |
Environment
All OS, platforms and hardware on Swift 5.5.2
Additional Detail from JIRA
Votes | 1 |
Component/s | Compiler |
Labels | Bug, 5.1Regression, SILDiagnostics |
Assignee | None |
Priority | Medium |
md5: 9f39cfcea60e60ce15f9f5b749a489f0
Issue Description:
class Foo {
required convenience init(x: Int) {
self.init(x: x)
}
}
This circular init pattern is not caught by the compiler, but dropping the required or convenience individually gives a warning or error as expected.