Skip to content
Snippets Groups Projects
Commit f59bab10 authored by Edward Z. Yang's avatar Edward Z. Yang
Browse files

Fix three bugs with fake-map implementation for PackageIndex.


1. When we union PackageIndexes together, prefer the later one.
   This idiom is used when we update the processing-state of
   packages in an InstallPlan.

2. dependencyInconsistencies' was missing a number of indirections
   through the fakeMap, so in some cases we incorrectly concluded
   packages were not equal when they were.

3. We need to initialize the fakeMap with any pre-installed packages,
   otherwise the invariant check for configured-packages will fail.

Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
parent 6f74cee7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment