File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -578,7 +578,9 @@ There are very few safe changes to make to protocols and their members:
578578- The ``@discardableResult `` and ``@warn_unqualified_access `` attributes may
579579 be added to or removed from a function requirement.
580580- A new ``associatedtype `` requirement may be added (with the appropriate
581- availability), as long as it has a default implementation.
581+ availability), as long as it has a default implementation. If the protocol
582+ did not have one or more ``associatedtype `` requirements before the change,
583+ then this is a `binary-compatible source-breaking change `.
582584- A new non-type requirement may be added (with the appropriate availability),
583585 as long as it has an unconstrained default implementation. If the requirement
584586 uses ``Self `` and the protocol has no other requirements using ``Self `` and
You can’t perform that action at this time.
0 commit comments