apple / swift-collections

Commonly used data structures for Swift
Apache License 2.0
3.55k stars 270 forks source link

[test] Use @retroactive in test conformances #371

Open lorentey opened 3 weeks ago

lorentey commented 3 weeks ago

The swift-collections test suite includes some test protocols to validate that dictionary- and set-like types provide the API surfaces that’s expected of their kind. These are being conformed to in the test targets, triggering new warnings on retroactive conformances.

Use @retroactive to silence such warnings.

Checklist

lorentey commented 3 weeks ago

(I expect this will fail on Swift 5.7, possibly 5.8.)

lorentey commented 3 weeks ago

@swift-ci test