Skip to content

SIL: Bridge 'any Sendable' via the id-as-Any path #65405

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 25, 2023

Conversation

slavapestov
Copy link
Contributor

Fixes rdar://problem/107264240.

@@ -601,6 +601,9 @@ class alignas(1 << TypeAlignInBits) TypeBase
/// Is this the 'Any' type?
bool isAny();

/// Is this the 'any Sendable' type?
bool isAnySendable();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we generalize this to be "Any ignoring marker protocols"?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, fine.

@slavapestov slavapestov force-pushed the bridging-id-any-sendable branch from efbb4c3 to 587f03f Compare April 25, 2023 01:35
@slavapestov slavapestov force-pushed the bridging-id-any-sendable branch 2 times, most recently from ba70846 to db84b43 Compare April 25, 2023 16:10
@xedin xedin removed their request for review April 25, 2023 17:20
Fixes rdar://problem/107264240.
@slavapestov slavapestov force-pushed the bridging-id-any-sendable branch from db84b43 to 385a7be Compare April 25, 2023 17:53
@slavapestov
Copy link
Contributor Author

@swift-ci Please smoke test

@slavapestov slavapestov merged commit 400bfc6 into swiftlang:main Apr 25, 2023
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