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 platform-specific unconditional availability. (#807)
This PR adds support for the following variant of `@available`:
```swift
@available(macOS, unavailable)
@test func f() {}
```
Previously, we were simply ignoring these availability attributes.
Resolves rdar://137776333.
### 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.
fatalError("Unsupported keyword \(whenKeyword) passed to \(#function). Please file a bug report at https://github.com/swiftlang/swift-testing/issues/new")
@@ -203,14 +220,14 @@ func createSyntaxNode(
203
220
204
221
// As above, but for unavailability (`#unavailable(...)`.)
0 commit comments