Skip to content

Conversation

@DougGregor
Copy link
Member

@DougGregor DougGregor commented Apr 5, 2024

Emit metadata for runtime checks of conformances of associated types to
invertible protocols, e.g., `T.Assoc: Copyable`. This allows us to
correctly handle, e.g., dynamic casting involving conditional
conformances that have such constraints.

The model we use here is to emit an invertible-protocol constraint
that leaves only the specific bit clear in the invertible protocol
set.

(cherry picked from commit ae01d20)
@DougGregor DougGregor requested a review from a team as a code owner April 5, 2024 04:53
@DougGregor
Copy link
Member Author

@swift-ci please test

@DougGregor DougGregor merged commit a3f50ff into swiftlang:release/6.0 Apr 5, 2024
@DougGregor DougGregor deleted the metadata-runtime-inverse-conformances-assoctype-6.0 branch April 5, 2024 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants