Skip to content

Revert "[region-isolation] Make "unknown pattern error" always an error #75317

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
Jul 18, 2024

Conversation

gottesmm
Copy link
Contributor

This reverts commit b63781f.

We found some cases where due to malformed IR that we allow through due to either us compiling for strict-concurrency=complete+swift-5 or swift-6 + preconcurrency, that we can actually have actor isolation mismatch. I am going to in a subsequent commit add a better phrasing here. But for now, just undo the conversion from error -> warning.

rdar://131757602

…or."

This reverts commit b63781f.

We found some cases where due to malformed IR that we allow through due to
either us compiling for strict-concurrency=complete+swift-5 or swift-6 +
preconcurrency, that we can actually have actor isolation mismatch. I am going
to in a subsequent commit add a better phrasing here. But for now, just undo the
conversion from error -> warning.

rdar://131757602
@gottesmm gottesmm requested a review from eeckstein as a code owner July 17, 2024 23:10
@gottesmm
Copy link
Contributor Author

@swift-ci smoke test

@gottesmm gottesmm enabled auto-merge July 17, 2024 23:10
@gottesmm gottesmm merged commit 8e6feff into swiftlang:main Jul 18, 2024
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.

1 participant