Skip to content

Fix @objcImpl crash with async/sync overloads #66858

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 23, 2023

Conversation

beccadax
Copy link
Contributor

The @objcImpl checker would accidentally dereference a null pointer when it tried to check if an async requirement could be satisfied by a non-async method. Fix that mistake.

Fixes rdar://111064481.

@beccadax beccadax requested a review from tshortli June 22, 2023 17:41
@beccadax
Copy link
Contributor Author

@swift-ci please test

The @objcImpl checker would accidentally dereference a null pointer when it tried to check if an async requirement could be satisfied by a non-async method. Fix that mistake.

Fixes rdar://111064481.
@beccadax beccadax force-pushed the names-out-of-sync branch from 796f842 to 49831a9 Compare June 22, 2023 20:17
@beccadax
Copy link
Contributor Author

Force-pushed to correct a test that failed in Swift CI's configuration but passed in my local one.

@beccadax
Copy link
Contributor Author

@swift-ci please test

@beccadax beccadax merged commit 8d4a51b into swiftlang:main Jun 23, 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.

3 participants