apple / swift-argument-parser

Straightforward, type-safe argument parsing for Swift
Apache License 2.0
3.31k stars 311 forks source link

[NFC] Suppress retroactive conformance errors #603

Closed natecook1000 closed 9 months ago

natecook1000 commented 9 months ago

These warnings are showing up in tests about types and protocols that are defined within this package, so they don't pose a problem for future library evolution. Instead of using the @retroactive attribute, which isn't supported by older compilers, this change fully qualifies the type and protocol in the relevant conformance declarations, which suppresses the issue.

Re: https://github.com/apple/swift-evolution/blob/main/proposals/0364-retroactive-conformance-warning.md

natecook1000 commented 9 months ago

@swift-ci Please test