Commits

Dmitri Hrybenko committed 67944589d6e
stdlib: improve index invalidation guarantees for removeFirst() Slice types that are RangeReplaceable (like ArraySlice) now slice themselves in removeFirst(). Previously, these types were picking up the wrong default implementation, and they were going through replaceRange(), which caused all indices to be invalidated. The new implementation preserves all indices. rdar://22536664 Swift SVN r31918