You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code using the ranged subscript on a MutableCollection instance that doesn't also conform to RangeReplaceableCollection must not change the length of the collection. This is a semantic requirement of MutableCollection that can't be enforced by the compiler, but is caught at runtime in the default implementation and in the standard library's implementing types.
The documentation for MutableCollection.subscript should include a note about this requirement, similar to the one in the MutableCollection protocol's discussion.
The text was updated successfully, but these errors were encountered:
Additional Detail from JIRA
md5: e0e60b8cc0a5ebc75058ed35d040a830
Issue Description:
Code using the ranged subscript on a MutableCollection instance that doesn't also conform to RangeReplaceableCollection must not change the length of the collection. This is a semantic requirement of MutableCollection that can't be enforced by the compiler, but is caught at runtime in the default implementation and in the standard library's implementing types.
The documentation for MutableCollection.subscript should include a note about this requirement, similar to the one in the MutableCollection protocol's discussion.
The text was updated successfully, but these errors were encountered: