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/Main.hs | |
parent | 72d086106d49bc18277f3a066e671e87e9b37a1b (diff) | |
download | haskell-8dc71f5577a541168951371bd55b51a588b57813.tar.gz |
Rename unsafeGetUnitInfo into unsafeLookupUnit
Diffstat (limited to 'compiler/GHC/Driver/Main.hs')
-rw-r--r-- | compiler/GHC/Driver/Main.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Driver/Main.hs b/compiler/GHC/Driver/Main.hs index ebc822aac5..95bad1e615 100644 --- a/compiler/GHC/Driver/Main.hs +++ b/compiler/GHC/Driver/Main.hs @@ -1192,7 +1192,7 @@ hscCheckSafe' m l = do packageTrusted _ Sf_SafeInferred False _ = True packageTrusted dflags _ _ m | isHomeModule dflags m = True - | otherwise = unitIsTrusted $ unsafeGetUnitInfo dflags (moduleUnit m) + | otherwise = unitIsTrusted $ unsafeLookupUnit dflags (moduleUnit m) lookup' :: Module -> Hsc (Maybe ModIface) lookup' m = do |