Wolfgang Jeltsch pushed to branch wip/jeltsch/improve-closure-property-check at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • compiler/GHC/Unit/Env.hs
    ... ... @@ -443,11 +443,10 @@ The flow:
    443 443
     Closure Property
    
    444 444
     ----------------
    
    445 445
     
    
    446
    -A unit environment must have the closure property, which means that, whenever
    
    447
    -some units /h/₁ and /h/₂ have been loaded as home units, /h/₁ does not directly
    
    448
    -or indirectly depend on an external unit that directly or indirectly depends
    
    449
    -on /h/₂. 'GHC.Driver.Downsweep.checkHomeUnitsClosed' checks whether a given unit
    
    450
    -environment indeed has this property.
    
    446
    +A unit environment must have the closure property, which means that a home unit
    
    447
    +must not directly or indirectly depend on an external unit that directly or
    
    448
    +indirectly depends on a home unit. 'GHC.Driver.Downsweep.checkHomeUnitsClosed'
    
    449
    +checks whether a given unit environment indeed has this property.
    
    451 450
     
    
    452 451
     Offsetting Paths
    
    453 452
     ----------------