Skip to content

[Runtime] Add a function to check type creation #68359

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 2 commits into from
Sep 7, 2023

Conversation

Azoy
Copy link
Contributor

@Azoy Azoy commented Sep 6, 2023

This adds a new SPI that takes a list of generic arguments and checks if said generic arguments are suitable to use as the generic arguments for the given type. If they are, gather all the extra arguments needed and fix up all of the pack pointers to call the metadata access function with these fixed up generic arguments.

@Azoy Azoy requested review from slavapestov and mikeash September 6, 2023 18:35
@Azoy
Copy link
Contributor Author

Azoy commented Sep 6, 2023

@swift-ci please test

1 similar comment
@Azoy
Copy link
Contributor Author

Azoy commented Sep 6, 2023

@swift-ci please test

@Azoy
Copy link
Contributor Author

Azoy commented Sep 7, 2023

@swift-ci please smoke test

@Azoy Azoy merged commit 1375ce6 into swiftlang:main Sep 7, 2023
@Azoy Azoy deleted the packs-pack-packs branch September 7, 2023 14:24
Azoy added a commit that referenced this pull request Sep 8, 2023
[Runtime] Add a function to check type creation
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.

2 participants