diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2020-05-07 19:01:37 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-06-13 02:13:02 -0400 |
commit | 8dc71f5577a541168951371bd55b51a588b57813 (patch) | |
tree | 8f821274d3b5a7a9a8595c3c4091a18d2257a5eb /compiler/GHC/Driver/Make.hs | |
parent | 72d086106d49bc18277f3a066e671e87e9b37a1b (diff) | |
download | haskell-8dc71f5577a541168951371bd55b51a588b57813.tar.gz |
Rename unsafeGetUnitInfo into unsafeLookupUnit
Diffstat (limited to 'compiler/GHC/Driver/Make.hs')
-rw-r--r-- | compiler/GHC/Driver/Make.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Driver/Make.hs b/compiler/GHC/Driver/Make.hs index c34df2c589..7aceafdd0b 100644 --- a/compiler/GHC/Driver/Make.hs +++ b/compiler/GHC/Driver/Make.hs @@ -310,7 +310,7 @@ warnUnusedPackages = do pit = eps_PIT eps let loadedPackages - = map (unsafeGetUnitInfo dflags) + = map (unsafeLookupUnit dflags) . nub . sort . map moduleUnit . moduleEnvKeys |