Commit Graph

2 Commits

Author SHA1 Message Date
Allan Shortlidge
2d4b21102c Sema: Fix @retroactive does not apply diags for same package conformance.
SE-0364 was amended to allow same-package conformances to be considered
non-retroactive. The logic for that ammendment was implemented in Swift 6.0,
but the diagnostics were not updated.

Resolves rdar://133423931.
2024-08-30 21:26:44 -07:00
Harlan Haskins
c2a87aa3a0 Relax @retroactive check to allow same-package declarations (#73512)
* Relax @retroactive check to allow same-package declarations

* Add package decls to the test too

* Fix tests

* Import test libraries publicly so I can use their conformances in public retroactive extensions
2024-07-02 21:09:24 -06:00