Simon Jakobi pushed to branch wip/sjakobi/tweak-mk_mod_usage_info at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • compiler/GHC/HsToCore/Usage.hs
    ... ... @@ -234,7 +234,7 @@ mk_mod_usage_info uc home_unit home_unit_ids this_mod direct_imports imp_decls u
    234 234
         -- ent_map groups together all the things imported and used
    
    235 235
         -- from a particular module
    
    236 236
         ent_map :: ModuleEnv [OccName]
    
    237
    -    ent_map  = nonDetStrictFoldUniqSet add_mv emptyModuleEnv used_names
    
    237
    +    !ent_map = nonDetStrictFoldUniqSet add_mv emptyModuleEnv used_names
    
    238 238
          -- nonDetStrictFoldUniqSet is OK here. If you follow the logic, we sort by
    
    239 239
          -- OccName in ent_hashs
    
    240 240
          where