Skip to content

[Concurrency] Don't ignore mismatching isolation for overrides of Clang-imported superclass methods. #74237

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
Jun 9, 2024

Conversation

hborla
Copy link
Member

@hborla hborla commented Jun 9, 2024

Mismatching isolation for overrides is invalid, and there's no reason to ignore this mistake for clang-imported superclasses. This change is staged in behind complete concurrency checking.

This change also removes a bogus fix-it to add global actor isolation to an override if it synchronously calls a global actor isolated method, which won't work.

Resolves: rdar://124409467, #72238

@hborla
Copy link
Member Author

hborla commented Jun 9, 2024

@swift-ci please smoke test

@hborla
Copy link
Member Author

hborla commented Jun 9, 2024

@swift-ci please smoke test macOS

@hborla hborla merged commit 382a8e7 into swiftlang:main Jun 9, 2024
3 checks passed
@hborla hborla deleted the override-isolation branch June 9, 2024 20:41
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