Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Unify alternate source IDs in solver to avoid duplicate projects #979

Merged
merged 2 commits into from
Aug 9, 2017

Conversation

sdboyer
Copy link
Member

@sdboyer sdboyer commented Aug 9, 2017

Fixes #969. This is insanely deep in the solver, so I'm not actually expecting anyone to review it.

In short, when we encountered a dependency for the second time, and the first time established an alternate source, but the second time did not (a case we allow for now even though it's maybe kind of a bad idea - #428), we weren't keeping track of that alternate source on the new bimodal identifier that was pushed into the unselected queue.

We have a new test case that now and only passes with the new change.

@sdboyer sdboyer self-assigned this Aug 9, 2017
@sdboyer sdboyer closed this Aug 9, 2017
@sdboyer sdboyer reopened this Aug 9, 2017
@sdboyer sdboyer merged commit c80fab8 into golang:master Aug 9, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants