We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c0868d2 + e674ab8 commit 9ef7620Copy full SHA for 9ef7620
docs/LibraryEvolution.rst
@@ -577,6 +577,8 @@ There are very few safe changes to make to protocols and their members:
577
themselves).
578
- The ``@discardableResult`` and ``@warn_unqualified_access`` attributes may
579
be added to or removed from a function requirement.
580
+- A new `associatedtype` requirement may be added (with the appropriate
581
+ availability), as long as it has a default implementation.
582
- A new non-type requirement may be added (with the appropriate availability),
583
as long as it has an unconstrained default implementation. If the requirement
584
uses ``Self`` and the protocol has no other requirements using ``Self`` and
0 commit comments