Skip to content

Conversation

@grynspan
Copy link
Contributor

We have one test that uses a newer overload of contains() that doesn't exist on older Apple platforms. This PR ensures that our use of that method is constrained to platforms that have it.

Checklist:

  • Code and documentation should follow the style of the Style Guide.
  • If public symbols are renamed or modified, DocC references should be updated.

…t have it.

We have one test that uses a newer overload of [`contains()`](https://developer.apple.com/documentation/swift/collection/contains(_:))
that doesn't exist on older Apple platforms. This PR ensures that our use of
that method is constrained to platforms that have it.
@grynspan grynspan added bug 🪲 Something isn't working darwin 🍎 macOS, iOS, watchOS, tvOS, and visionOS support labels Feb 21, 2025
@grynspan grynspan added this to the Swift 6.x milestone Feb 21, 2025
@grynspan grynspan self-assigned this Feb 21, 2025
@grynspan
Copy link
Contributor Author

@swift-ci test

@grynspan
Copy link
Contributor Author

@swift-ci test Linux

@grynspan grynspan merged commit c488e8f into main Feb 21, 2025
3 checks passed
@grynspan grynspan deleted the jgrynspan/contains-availability branch February 21, 2025 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug 🪲 Something isn't working darwin 🍎 macOS, iOS, watchOS, tvOS, and visionOS support

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants