Skip to content

Use GenericSignature::getSubstitutions() in AttributeChecker::visitSpecializeAttr() #5691

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
Nov 9, 2016

Conversation

DougGregor
Copy link
Member

Rather than implement an ad hoc version of
GenericSignature::getSubstitutions(), walk the requirements enough to
check the validity of the @_specialize attribute and then use
GenericSignature::getSubstitutions() to actually form the resulting
substitutions.

One less place in the code where we depend on witness markers.

…ecializeAttr.

Rather than implement an ad hoc version of
GenericSignature::getSubstitutions(), walk the requirements enough to
check the validity of the @_specialize attribute and then use
GenericSignature::getSubstitutions() to actually form the resulting
substitutions.

One less place in the code where we depend on witness markers.
@DougGregor
Copy link
Member Author

@swift-ci please smoke test and merge

@swift-ci swift-ci merged commit 5d7bfc0 into swiftlang:master Nov 9, 2016
@DougGregor DougGregor deleted the attr-specialized-getsubs branch November 9, 2016 02:12
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