Fix remaining build errors for GHC 8
This commit is contained in:
@@ -16,7 +16,11 @@ import Prelude
|
||||
|
||||
setEmptyLogger :: DynFlags -> DynFlags
|
||||
setEmptyLogger df =
|
||||
#if __GLASGOW_HASKELL__ >= 800
|
||||
Gap.setLogAction df $ \_ _ _ _ _ _ -> return ()
|
||||
#else
|
||||
Gap.setLogAction df $ \_ _ _ _ _ -> return ()
|
||||
#endif
|
||||
|
||||
setDebugLogger :: (String -> IO ()) -> DynFlags -> DynFlags
|
||||
setDebugLogger put df = do
|
||||
|
||||
Reference in New Issue
Block a user