-
Notifications
You must be signed in to change notification settings - Fork 10.6k
[stdlib] Undeprecate Countable*Range #16360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[stdlib] Undeprecate Countable*Range #16360
Conversation
|
@swift-ci please test source compatibility |
|
@swift-ci please test |
|
Build failed |
|
Build failed |
09cc7a7 to
51b9468
Compare
|
@swift-ci please test |
|
@swift-ci please test source compatibility |
|
Build failed |
|
Build failed |
|
@swift-ci please test linux platform |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes sense to me. CountableRange is a useful name, even as a shorthand, and we've seen that it's fairly widely used.
* Undeprecate Countable*Range * Remove check for deprecation warnings
Now that
Rangeis conditionally aSequence,CountableRangeis redundant and implemented as a generic typealias for source compatibility.However, it's still useful shorthand for a
Rangethat is countable. This change removes the deprecation on the typealias, for now, pending feedback.