You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for experimental "custom availability domains" feature. (#1362)
This PR updates our parsing of the `@available` attribute during
expansion of the `@Test` and `@Suite` macros to support custom
availability domains of the form:
```swift
@available(Foo) @test func f() {}
```
This change means the macro expansion will include `if #available(Foo)`
instead of `if #available(Foo, *)` in this case.
Resolves rdar://160323829.
### Checklist:
- [x] Code and documentation should follow the style of the [Style
Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md).
- [x] If public symbols are renamed or modified, DocC references should
be updated.
0 commit comments