Skip to content

GenericSpecializer: fix a crash with -cross-module-optimization #64632

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
Mar 27, 2023

Conversation

eeckstein
Copy link
Contributor

If a thunk needs to be generated for a partial_apply specialization, but the specialization doesn't have a body, bail.

rdar://107165121

If a thunk needs to be generated for a partial_apply specialization, but the specialization doesn't have a body, bail.

rdar://107165121
@eeckstein
Copy link
Contributor Author

@swift-ci smoke test

@eeckstein
Copy link
Contributor Author

@swift-ci benchmark

@eeckstein eeckstein merged commit 00c14fa into swiftlang:main Mar 27, 2023
@eeckstein eeckstein deleted the fix-specializer branch March 27, 2023 10:20
eeckstein added a commit to eeckstein/swift that referenced this pull request Mar 28, 2023
This is a follow up of swiftlang#64632

The missing line in the test caused the test to always pass, even if the compiler bug fix is not in place.
etcwilde pushed a commit to etcwilde/swift that referenced this pull request Apr 19, 2023
This is a follow up of swiftlang#64632

The missing line in the test caused the test to always pass, even if the compiler bug fix is not in place.
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