Skip to content
  • Herbert Valerio Riedel's avatar
    Turn `allow-{newer,older}` into an accumulating field · 5e49e53c
    Herbert Valerio Riedel authored
    This fixes the inconvenience occuring in `cabal.project` files of
    separate `allow-*` statements overwriting each other. Currently,
    without this patch,
    
        allow-newer: base
        allow-newer: directory
    
    is *NOT* equivalent to
    
        allow-newer: base, directory
    
    but rather to the last occurence of `allow-newer`, i.e.
    
        allow-newer: directory
    
    This behaviour has been present since cabal 1.24
    5e49e53c