|
3 | 3 | * Proposal: [SE-0364](0364-retroactive-conformance-warning.md)
|
4 | 4 | * Author: [Harlan Haskins](https://github.com/harlanhaskins)
|
5 | 5 | * Review Manager: [Steve Canon](https://github.com/stephentyrone)
|
6 |
| -* Status: **Implemented (Swift 6.0)** |
| 6 | +* Status: **Active Review, May 15...22, 2024** |
7 | 7 | * Implementation: [apple/swift#36068](https://github.com/apple/swift/pull/36068)
|
8 | 8 | * Review: ([first pitch](https://forums.swift.org/t/warning-for-retroactive-conformances-if-library-evolution-is-enabled/45321))
|
9 | 9 | ([second pitch](https://forums.swift.org/t/pitch-warning-for-retroactive-conformances-of-external-types-in-resilient-libraries/56243))
|
10 | 10 | ([first review](https://forums.swift.org/t/se-0364-warning-for-retroactive-conformances-of-external-types/58922))
|
11 | 11 | ([second review](https://forums.swift.org/t/second-review-se-0364-warning-for-retroactive-conformances-of-external-types/64615))
|
12 | 12 | ([acceptance](https://forums.swift.org/t/accepted-se-0364-warning-for-retroactive-conformances-of-external-types/65015))
|
| 13 | + ([amendment])(https://forums.swift.org/t/amendment-se-0364-allow-same-package-conformances/71877) |
13 | 14 |
|
14 | 15 | ## Introduction
|
15 | 16 |
|
@@ -94,6 +95,8 @@ The following exceptions apply to either the conforming type or the protocol:
|
94 | 95 | called `__ObjC`, we have to assume the client takes responsibility for these declaration.
|
95 | 96 | - If it is declared in one module, but uses the `@_originallyDefined(in:)` attribute to
|
96 | 97 | signify that it has moved from a different module, then this will not warn.
|
| 98 | +- If it is declared in a module that is part of the same package as the conformance, |
| 99 | + this is not considered retroactive. |
97 | 100 |
|
98 | 101 | For clarification, the following are still valid, safe, and allowed:
|
99 | 102 | - Conformances of external types to protocols defined within the current module.
|
|
0 commit comments