swiftlang/swift

[SR-3752] Remove redundant word "Index" from Collection properties/typealiases

开放

#46,337 创建于 2017年1月26日

 (1 条评论) (0 个反应) (0 位负责人)Swift (10,719 个派生)batch import
affects ABIgood first issueimprovementstandard libraryswift evolution proposal needed

仓库指标

星标
 (69,989 个星标)
PR 合并指标
 (平均合并 8天 17小时) (30 天内合并 510 个 PR)

描述

Previous ID SR-3752
Radar rdar://problem/29976316
Original Reporter @airspeedswift
Type Improvement
Votes 0
Component/s Standard Library
Labels Improvement, AffectsABI, StarterProposal
Assignee None
Priority Medium

md5: 0c809e36d2916cefa628bdb99c61a0e8

Issue Description:

The two properties "startIndex" and "endIndex", and the typealias IndexDistance should have the word "Index" removed, in order to reduce clutter. The meaning is clear without it.

For source compatibility reasons, deprecated computed properties or a typealias should be provided.

贡献者指南