Skip to content

[GenPack] Emit all element signature requirements. #63665

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

Conversation

nate-chandler
Copy link
Contributor

Enumerate the requirements of opened element signature and emit metadata and witness tables for each *Pack requirement.

@nate-chandler
Copy link
Contributor Author

@swift-ci please test

And updated the isMetadata and isWitnessTable predicates to count packs
of either.
Enumerate the requirements of opened element signature and emit metadata
and witness tables for each *Pack requirement.
Previously, the test didn't actually verify that the called witness
method was the witness method from the right method--all the methods had
the same implementation and just forwarded the type along to be printed.
Now an id specific to each method is printed as well.
@nate-chandler nate-chandler force-pushed the variadic-generics/irgen/full_metadata_binding branch from f889111 to c5563ff Compare February 15, 2023 04:54
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler nate-chandler merged commit 87459d6 into swiftlang:main Feb 16, 2023
@nate-chandler nate-chandler deleted the variadic-generics/irgen/full_metadata_binding branch February 16, 2023 23:16
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