swiftlang/swift-package-manager
View on GitHub[SR-7821] Provide a way to validate that a version is syntactically valid
Open
#4810 opened on May 31, 2018
buggood first issue
Description
| Previous ID | SR-7821 |
| Radar | rdar://problem/31742084 |
| Original Reporter | @aciidb0mb3r |
| Type | Bug |
| Votes | 0 |
| Component/s | Package Manager |
| Labels | Bug, StarterBug |
| Assignee | None |
| Priority | Medium |
md5: 46680a2c0ec36bb66247502e88b4930f
Issue Description:
Right now, calling `Utility.Version(string: foo)` with a user-entered string returns nil whenever the string is malformed in any way, but it doesn’t provide any diagnostics about what the problem is.