Skip to content
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

Plumb inference obligations through selection (alternative) #33451

Closed
wants to merge 2 commits into from

Conversation

soltanmm
Copy link

@soltanmm soltanmm commented May 6, 2016

Alternative implementation to #33301 that dumps inferred obligations into the Vtable* variants as nested obligations.

I feel like it should be okay to do this instead of plumbing the obligations all the way up separately. After all, whenever new information comes along there are new type variables so the cache never ends up holding onto invalid data even if inferred obligations are added in... right? Nothing is 'special' about obligations inferred from unification.

r? @nikomatsakis

Candidate assembly during selection should not affect the inference
context.
@bors
Copy link
Contributor

bors commented May 6, 2016

☔ The latest upstream changes (presumably #33138) made this pull request unmergeable. Please resolve the merge conflicts.

@nikomatsakis
Copy link
Contributor

@soltanmm I was most of the way through reading the last one. I'll compare the two today and let you know what I think.

@soltanmm
Copy link
Author

Gonna rewrite this one rather than try to salvage it; it's easier that way.

@soltanmm soltanmm closed this May 12, 2016
@soltanmm soltanmm deleted the vtable branch May 12, 2016 00:21
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.

None yet

4 participants