[project @ 2003-06-06 11:18:35 by simonmar]
authorsimonmar <unknown>
Fri, 6 Jun 2003 11:18:35 +0000 (11:18 +0000)
committersimonmar <unknown>
Fri, 6 Jun 2003 11:18:35 +0000 (11:18 +0000)
unbreak GHCi

ghc/compiler/main/DriverPipeline.hs

index 51267d9..605f082 100644 (file)
@@ -1109,7 +1109,9 @@ hscNextPhase hsc_lang = do
                HscC -> HCc
                HscAsm | split -> SplitMangle
                       | otherwise -> As
-               HscNothing -> HCc
+               HscNothing     -> HCc  -- dummy (no output will be generated)
+               HscInterpreted -> HCc  -- "" ""
+               _other         -> HCc  -- "" ""
        )
 
 hscMaybeAdjustLang :: HscLang -> IO HscLang