Open aciidgh opened 6 years ago
Comment by Jhonny Bill Mena (JIRA)
This can now be closd. @MaxDesiatov Could you kindly close this please?
IMO, the resolution is incomplete, as the PR in question only added warnings, while this issue requested actual fix-its that users can easily apply by clicking on them, like with any other fix-it.
Additional Detail from JIRA
| | | |------------------|-----------------| |Votes | 0 | |Component/s | Package Manager | |Labels | Bug, StarterBug | |Assignee | None | |Priority | Medium | md5: 09bf5631fee7a0af06fa651808d31d64Issue 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.
The edit distance algorithm as landed in SwiftPM with https://github.com/apple/swift-package-manager/pull/1431