[Maybe this should be in "Using Swift".]
I was reading the implementation of "RangeReplaceableCollection.swift" and noticed that there were three items from Collection
repeated in the RangeReplaceableCollection
primary definition. Those items had the "override
" specifier added. Is that new for Swift 5? What does it mean?
Those three repeats (SubSequence
, subscript(bounds: Index)
, and subscript(bounds: Range<Index>)
) had a "FIXME: Associated type inference requires these.
" comment attached. Does that mean the override
specifier for protocols will go away once the fix is in?