Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-15026] Fix-it for deprecated initializers removes the .init part from self.init #57354

Closed
WowbaggersLiquidLunch opened this issue Aug 5, 2021 · 0 comments · Fixed by #58545
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 good first issue Good for newcomers

Comments

@WowbaggersLiquidLunch
Copy link
Collaborator

Previous ID SR-15026
Radar rdar://81572131
Original Reporter @WowbaggersLiquidLunch
Type Bug

Attachment: Download

Environment

Swift 5.5 (swiftlang-1300.0.27.6 clang-1300.0.27.2)
Xcode 13.0 beta 4 (13A5201i)
macOS 12.0 Beta (21A5294g)

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, DiagnosticsQoI, StarterBug
Assignee None
Priority Medium

md5: e74bf2f692b142ab23f91cd5f9b6813d

Issue Description:

This happened when I was replacing the call sites of a deprecated initializer in SwiftPM on top of the commit 0a17db09d7065be8a8ad925a4cfa50f3dd306cfc. I'm not sure if it's an Xcode problem or a diagnostics problem, so I'm filing for the bug both here and on the Feedback Assistant (FB9457368).

Please see the attached screen recording.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
cbjeukendrup added a commit to cbjeukendrup/swift that referenced this issue May 2, 2022
cbjeukendrup added a commit to cbjeukendrup/swift that referenced this issue Sep 9, 2022
tshortli pushed a commit that referenced this issue Jan 24, 2023
tshortli added a commit that referenced this issue Jan 24, 2023
Fix #57354: Fix-it for deprecated initializers removes the `.init` part from `self.init`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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 good first issue Good for newcomers
Projects
None yet
1 participant