Open ee21ea02-9d7a-4385-8c3c-ad21e8e490a8 opened 7 years ago
Issue Description:
When conditional conformances are available, slice types (or type) should provide an overload of filter that returns a base type. Note: RangeReplaceable provides a default implementation of filter that returns Self.
filter
RangeReplaceable
Self
@swift-ci create /cc @airspeedswift
Additional Detail from JIRA
| | | |------------------|-----------------| |Votes | 0 | |Component/s | Standard Library | |Labels | Bug | |Assignee | None | |Priority | Medium | md5: 9bee34c6946a1825e1ee5936bee83421Issue Description:
When conditional conformances are available, slice types (or type) should provide an overload of
filter
that returns a base type.Note:
RangeReplaceable
provides a default implementation offilter
that returnsSelf
.