Skip to content
  • Duncan Coutts's avatar
    e2c6cd31
    Avoid generating redundant constraints in new-freeze · e2c6cd31
    Duncan Coutts authored
    We sometimes have to union constraints from different places, but we
    should simplify those before rendering so we don't add needless
    redundancy like "aeson-pretty ==0.8.1 || ==0.8.1". So we just use
    simplifyVersionRange after unioning things.
    
    Fixes #4002
    e2c6cd31
    Avoid generating redundant constraints in new-freeze
    Duncan Coutts authored
    We sometimes have to union constraints from different places, but we
    should simplify those before rendering so we don't add needless
    redundancy like "aeson-pretty ==0.8.1 || ==0.8.1". So we just use
    simplifyVersionRange after unioning things.
    
    Fixes #4002
Loading