Skip to content

Extract common code for building opened existential and element signatures #73363

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

Conversation

slavapestov
Copy link
Contributor

@slavapestov slavapestov commented May 1, 2024

Follow-up to #73348. Re-abstraction thunk emission had a utility for building a generic signature from several captured existential or element environments. Make this generally usable, since we need it for closures that capture element environments too.

I’m structuring these PRs to keep the refactoring separate from new code. The 6.0 cherry pick will not change existing logic, it will just add new code that only runs in the case that used to crash.

@slavapestov slavapestov requested review from hborla and xedin as code owners May 1, 2024 12:36
@slavapestov slavapestov force-pushed the pack-expansion-closures-part-2 branch from 46dbe06 to 9e13db0 Compare May 1, 2024 19:35
@slavapestov
Copy link
Contributor Author

@swift-ci Please smoke test

@slavapestov
Copy link
Contributor Author

@swift-ci Please test source compatibility

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