Skip to content

Conversation

@jmschonfeld
Copy link
Contributor

I suspect this overload was added to our test files to support the tests before AttributedStringProtocol.range(of:) was ported to swift-foundation. But today, the range(of:) function exists in swift-foundation so we should remove this extra one from our tests to make sure we're testing the real function rather than the one overloaded by the tests.

@jmschonfeld
Copy link
Contributor Author

@swift-ci please test

Copy link
Contributor

@itingliu itingliu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@jmschonfeld jmschonfeld merged commit f0db4fc into swiftlang:main Jun 3, 2025
15 checks passed
@jmschonfeld jmschonfeld deleted the attrstr/remove-rangeof-overload branch June 3, 2025 16:48
chloe-yeo pushed a commit to chloe-yeo/swift-foundation that referenced this pull request Jun 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants