X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=ghc%2FInteractiveUI.hs;h=9a578df4c155db4ebf89640b7b0ec174198e655e;hb=b85bac5ed74d735b3bac7a56e0080470d8fb0cdb;hp=4b48c98a70ad7947d196cb658de529a172a88dcf;hpb=0e6ff027979263c36703f26da836a784fe1606a2;p=ghc-hetmet.git diff --git a/ghc/InteractiveUI.hs b/ghc/InteractiveUI.hs index 4b48c98..9a578df 100644 --- a/ghc/InteractiveUI.hs +++ b/ghc/InteractiveUI.hs @@ -1580,7 +1580,7 @@ optToStr RevertCAFs = "r" -- code for `:show' showCmd :: String -> GHCi () -showCmd str = do +showCmd str = withFlattenedDynflags $ do st <- getGHCiState case words str of ["args"] -> io $ putStrLn (show (args st))