[Git][ghc/ghc][wip/unitidset] lint

Josh Meredith (@JoshMeredith) gitlab at gitlab.haskell.org
Wed Apr 26 04:13:56 UTC 2023



Josh Meredith pushed to branch wip/unitidset at Glasgow Haskell Compiler / GHC


Commits:
e84c74de by Josh Meredith at 2023-04-26T04:13:47+00:00
lint

- - - - -


1 changed file:

- ghc/GHCi/UI.hs


Changes:

=====================================
ghc/GHCi/UI.hs
=====================================
@@ -2576,7 +2576,7 @@ isSafeModule m = do
     case msafe && isEmptyUniqDSet bad of
         True -> liftIO $ putStrLn $ mname ++ " is trusted!"
         False -> do
-            when (not $ emptyUniqDSet bad)
+            when (not $ isEmptyUniqDSet bad)
                  (liftIO $ putStrLn $ "Trusted package dependencies (untrusted): "
                             ++ (intercalate ", " $ map (showPpr dflags) (uniqDSetToList bad)))
             liftIO $ putStrLn $ mname ++ " is NOT trusted!"



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e84c74de6c2637a8c5f3b71a08e1dc4f225a25a3

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e84c74de6c2637a8c5f3b71a08e1dc4f225a25a3
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230426/f8cc923f/attachment.html>


More information about the ghc-commits mailing list