Skip to content

Conversation

@xedin
Copy link
Contributor

@xedin xedin commented Jan 14, 2026

…IsolationCast`

This check should use isCompatibleWith because sometimes the operands don't have ownership i.e. when the actor is nil.

Resolves: rdar://164993540

@xedin xedin requested a review from gottesmm January 14, 2026 23:55
@xedin xedin requested a review from jckarter as a code owner January 14, 2026 23:55
@xedin
Copy link
Contributor Author

xedin commented Jan 14, 2026

This is a fix for the issue currently blocking #85518

@xedin
Copy link
Contributor Author

xedin commented Jan 14, 2026

@swift-ci please smoke test

@xedin
Copy link
Contributor Author

xedin commented Jan 15, 2026

@swift-ci please smoke test Windows platform

@gottesmm
Copy link
Contributor

@xedin can you add a SIL test case that shows that this works as intended.

@xedin
Copy link
Contributor Author

xedin commented Jan 15, 2026

Sure, I'm figuring out how to do that at the moment.

xedin added 2 commits January 15, 2026 10:34
…IsolationCast`

This check should use `isCompatibleWith` because sometimes the
operands don't have ownership i.e. when the actor is `nil`.

Resolves: rdar://164993540
…olationCast`

Similarly to SILVerifier condition, it has to use `isCompatibleWith`
to allow for "none" as well.
@xedin
Copy link
Contributor Author

xedin commented Jan 15, 2026

@swift-ci please smoke test

@xedin xedin enabled auto-merge January 15, 2026 19:07
@xedin
Copy link
Contributor Author

xedin commented Jan 15, 2026

@swift-ci please smoke test macOS platform

@xedin xedin merged commit 61e4eb9 into swiftlang:main Jan 16, 2026
3 checks passed
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