Skip to content

Add getGenericSignature() helper method to ArchetypeBuilder #627

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

swiftix
Copy link
Contributor

@swiftix swiftix commented Dec 17, 2015

This is just a small re-factoring moving some code around to make it possible for an ArchetypeBuilder to create a generic signature based on a provided list of generic parameter types and a set of archetype and requirements already known to the builder.

@swiftix
Copy link
Contributor Author

swiftix commented Dec 17, 2015

@DougGregor @rjmccall Doug, John, could you have a look at this PR? This is the small of re-factoring we discussed a few days ago.

Let me know if anything is missing.

/// \returns a generic signature build based on the provided list of
/// generic parameter types.
GenericSignature *
getGenericSignature(ArrayRef<GenericTypeParamType *> genercParamsTypes);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo in the parameter name: generc

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jtbandes Thanks, fixed! I force pushed the change.

This is just a small re-factoring moving some code around to make it possible for an ArchetypeBuilder to create a generic signature based on a provided list of generic parameter types and a set of archetype and requirements already known to the builder.
@swiftix swiftix force-pushed the wip-archetype-builder-refactoring branch from 9840327 to 52147ec Compare December 18, 2015 14:20
DougGregor added a commit that referenced this pull request Dec 18, 2015
Add getGenericSignature() helper method to ArchetypeBuilder
@DougGregor DougGregor merged commit cf411ed into swiftlang:master Dec 18, 2015
freak4pc pushed a commit to freak4pc/swift that referenced this pull request Sep 28, 2022
…ride-swift-exec

Support using `sk-swiftc-wrapper` that is not installed in the toolchain
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