[swift-evolution] [Review] SE-0093: Adding a public base property to slices
Kevin Ballard
kevin at sb.org
Mon May 23 17:17:17 CDT 2016
On Mon, May 23, 2016, at 03:15 PM, Max Moiseev wrote:
> Hi Kevin,
>
> Thanks for reviewing this proposal.
>
> It is my poor choice of words to be blamed for the confusion. There is definitely no reason for the new property to only be available for the MutableRandomAccessSlice type. Moreover, since all the slice types are generated with GYB now, it would be more code ;-)
>
> The intention is to add the new property to ALL the slice types.
Ah hah, you're right, I missed the following line when reading:
> The same change is applicable to both mutable and immutable slice types.
So +1, though I'm still in favor of renaming `_base` to `base` and then adding a computed `_base` property back if the stdlib breakage is too high.
-Kevin Ballard
More information about the swift-evolution
mailing list