Skip to content
This repository has been archived by the owner on Mar 4, 2023. It is now read-only.

Commit

Permalink
Fix warnings and remove some debug output.
Browse files Browse the repository at this point in the history
  • Loading branch information
nominolo committed May 10, 2011
1 parent dd907b9 commit 57bf64b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/Scion/Types/Monad.hs
Expand Up @@ -2,8 +2,7 @@
-- | Definitions concerning the
module Scion.Types.Monad
( module Scion.Types.Monad,
module Scion.Types.Core,
ExceptionMonad(..), MonadIO(..)
module Scion.Types.Core
)
where

Expand Down
2 changes: 1 addition & 1 deletion src/Scion/Types/Worker.hs
Expand Up @@ -2,7 +2,7 @@
module Scion.Types.Worker
( module Scion.Types.Worker
, module Scion.Types.Core
, MonadIO(..), ExceptionMonad(..) )
)
where

import Scion.Types.Core
Expand Down
4 changes: 2 additions & 2 deletions src/Scion/Worker/Main.hs
Expand Up @@ -270,10 +270,10 @@ initGhcSession targets args1 debugMsg kont = do
case severity of
--Ghc.SevOutput -> debugMsg $ "OUT: " ++ msg_text loc sty msg
Ghc.SevWarning -> do
debugMsg $ "WARN: " ++ msg_text loc sty msg
--debugMsg $ "WARN: " ++ msg_text loc sty msg
addNote WarningNote loc (withPprStyle sty msg)
Ghc.SevError -> do
debugMsg $ "ERR: " ++ msg_text loc sty msg
--debugMsg $ "ERR: " ++ msg_text loc sty msg
addNote ErrorNote loc (withPprStyle sty msg)
Ghc.SevInfo -> debugMsg $ "INFO: " ++ msg_text loc sty msg
Ghc.SevFatal -> debugMsg $ "FATAL: " ++ msg_text loc sty msg
Expand Down

0 comments on commit 57bf64b

Please sign in to comment.