> Please find the related proposal which was formed after the long discussion
> in the list:
>
> https://github.com/luish/swift-evolution/blob/proposal-lenient-collection-subscripts/proposals/nnnn-more-lenient-collections-subscripts.md
>
> <https://github.com/luish/swift-evolution/blob/proposal-lenient-collection-subscripts/proposals/nnnn-more-lenient-collections-subscripts.md>
Thanks; I have seen this and other proposals, but none of them address the
problem that most people don’t expect a crash when using subscripting – except
for Erica’s excellent suggestion to make subscript throw, which would also
require considerable changes to existing code.
- Andreas
_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution