Skip to content

Commit 3f0d0cd

Browse files
Harlan Haskinsstephentyrone
andauthored
Amend SE-0364 to make the wording stronger (#2470)
* Amend SE-0364 to make the wording stronger * Clarify that it will be at load time sometimes * Update 0364-retroactive-conformance-warning.md --------- Co-authored-by: Stephen Canon <[email protected]>
1 parent 52c6424 commit 3f0d0cd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

proposals/0364-retroactive-conformance-warning.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Proposal: [SE-0364](0364-retroactive-conformance-warning.md)
44
* Author: [Harlan Haskins](https://github.com/harlanhaskins)
55
* Review Manager: [Steve Canon](https://github.com/stephentyrone)
6-
* Status: **Active Review (May 15th...22nd, 2024)**
6+
* Status: **Active Review (June 10th...17th, 2024)**
77
* Implementation: [apple/swift#36068](https://github.com/apple/swift/pull/36068)
88
* Review: ([first pitch](https://forums.swift.org/t/warning-for-retroactive-conformances-if-library-evolution-is-enabled/45321))
99
([second pitch](https://forums.swift.org/t/pitch-warning-for-retroactive-conformances-of-external-types-in-resilient-libraries/56243))
@@ -96,7 +96,8 @@ The following exceptions apply to either the conforming type or the protocol:
9696
- If it is declared in one module, but uses the `@_originallyDefined(in:)` attribute to
9797
signify that it has moved from a different module, then this will not warn.
9898
- If it is declared in a module that is part of the same package as the conformance,
99-
this is not considered retroactive.
99+
this is not retroactive. Duplicated same-package conformances will be detected at link or load
100+
time.
100101

101102
For clarification, the following are still valid, safe, and allowed:
102103
- Conformances of external types to protocols defined within the current module.

0 commit comments

Comments
 (0)