Skip to content
  • Edward Z. Yang's avatar
    Fix three bugs with fake-map implementation for PackageIndex. · f59bab10
    Edward Z. Yang authored
    
    
    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>
    f59bab10