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

Commits:

1 changed file:

Changes:

  • compiler/GHC/Driver/Downsweep.hs
    ... ... @@ -942,9 +942,10 @@ rootSummariesParallel n_jobs hsc_env diag_wrapper msg get_summary = do
    942 942
     -- | Checks whether the given 'UnitEnv' has the closure property.
    
    943 943
     --
    
    944 944
     --   See the section “Closure Property” in @Note [Multiple Home Units]@ for the
    
    945
    ---   definition of the closure property an @Note [Home unit closure property
    
    946
    ---   check]@ below for a discussion of the algorithm used for this check, its
    
    947
    ---   justification, and a potential alternative.
    
    945
    +--   definition of the closure property and
    
    946
    +--   @Note [Home unit closure property check]@ below for a discussion of the
    
    947
    +--   algorithm used for this check, its justification, and a potential
    
    948
    +--   alternative.
    
    948 949
     checkHomeUnitsClosed :: UnitEnv -> [DriverMessages]
    
    949 950
     checkHomeUnitsClosed unit_env
    
    950 951
       | null offenders = []