swift-testing is a modern, open-source testing library for Swift with powerful and expressive capabilities. It gives developers more confidence with less code.
5 Likes
toph42
(Topher Hickman)
2
Why does swift-testing’s Package.swift have .enableUpcomingFeature("ExistentialAny") when this is Swift 5.9+ and that feature went live with 5.8?
smontgomery
(Stuart Montgomery)
3
This is described in SE-0335:
The Swift 6 behavior can be enabled in earlier language modes with the upcoming feature flag ExistentialAny.
It requires uses of existentials to use the any keyword.
1 Like