Closed grynspan closed 2 weeks ago
This PR adds support for the following variant of @available:
@available
@available(macOS, unavailable) @Test func f() {}
Previously, we were simply ignoring these availability attributes.
Resolves rdar://137776333.
@swift-ci test
We should consider adding this to some DocC article as a recommended workflow for disabling a test on an entire platform, as an alternative to .enabled(if: ...) in that situation.
.enabled(if: ...)
This PR adds support for the following variant of
@available
:Previously, we were simply ignoring these availability attributes.
Resolves rdar://137776333.
Checklist: