Skip to content

CSGen: Infer generic arguments in typed placeholders #33680

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
Aug 30, 2020

Conversation

AnthonyLatsis
Copy link
Collaborator

To be rebased on #33663, only the last 2 commits are relevant.

@AnthonyLatsis AnthonyLatsis requested review from xedin, CodaFi and slavapestov and removed request for xedin August 28, 2020 14:41
@slavapestov
Copy link
Contributor

I'm going to punt reviewing this and ask @hborla or @xedin to take a look instead.

@AnthonyLatsis AnthonyLatsis removed the request for review from slavapestov August 29, 2020 11:13
Copy link
Contributor

@xedin xedin left a comment

Choose a reason for hiding this comment

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

Nice simplification, thank you, @AnthonyLatsis!

@xedin
Copy link
Contributor

xedin commented Aug 30, 2020

@AnthonyLatsis Looks like you need to rebase manually...

@AnthonyLatsis
Copy link
Collaborator Author

@swift-ci please smoke test

Now that all sites have been refactored to pass a dedicated OpenUnboundGenericType callable,
we can consistently move the construction of the opener into resolveTypeReferenceInExpression
and have it take a ConstraintLocatorBuilder parameter instead
@AnthonyLatsis
Copy link
Collaborator Author

@swift-ci please smoke test

@AnthonyLatsis
Copy link
Collaborator Author

@swift-ci please smoke test Windows

@AnthonyLatsis AnthonyLatsis merged commit 850745a into swiftlang:master Aug 30, 2020
@AnthonyLatsis AnthonyLatsis deleted the unbound-placeholder branch August 30, 2020 23:45
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