[SR-15273] Fix-it is incorrectly applied to public type declaration that lacks a public init required by protocol conformance #57595
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
Attachment: Download
Environment
macOS 12.0 Beta (21A5534d)
Xcode 13.0 (13A233)
Swift 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) and Swift development snapshot 2021-09-28
Additional Detail from JIRA
md5: 6007729760dc2cc872d42014b9b2419a
Issue Description:
buggy code that produces the error and fix-it:
after applying the fix-it:
Attached are a screen recording of this bug occurring in Xcode, and a zip of the source code that produces this bug.
The text was updated successfully, but these errors were encountered: