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

Include name-based "fixits" whenever we do a unique name membership lookup

    XMLWordPrintable

    Details

      Description

      This diagnostic is not very good, SwiftPM should suggest the right spelling by comparing against the products which are available and suggesting a likely match if the string edit distance is small enough, similar to what the compiler does.

      $ swift build
      error: product dependency 'FooBar' not found
      

      The edit distance algorithm as landed in SwiftPM with https://github.com/apple/swift-package-manager/pull/1431

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            aciid Ankit Aggarwal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: