Flatten flags for ghci's :show
[ghc-hetmet.git] / ghc / InteractiveUI.hs
index 4b48c98..9a578df 100644 (file)
@@ -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))