Uploaded image for project: 'Swift'
  1. Swift
  2. SR-15026

Fix-it for deprecated initializers removes the `.init` part from `self.init`

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Component/s: Compiler
    • 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)

      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.

        Attachments

          Activity

            People

            Assignee:
            jbusak Josip Busak
            Reporter:
            wowbagger 冀卓疌
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: