[commit: ghc] master: CoreMonad: Update error msg function docs (c56f8bd)
git at git.haskell.org
git at git.haskell.org
Thu Jun 16 08:49:50 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/c56f8bd0cfd44a4a6812b62fc5dca3190d3e749f/ghc
>---------------------------------------------------------------
commit c56f8bd0cfd44a4a6812b62fc5dca3190d3e749f
Author: Ömer Sinan Ağacan <omeragacan at gmail.com>
Date: Thu Jun 16 08:51:55 2016 +0000
CoreMonad: Update error msg function docs
>---------------------------------------------------------------
c56f8bd0cfd44a4a6812b62fc5dca3190d3e749f
compiler/simplCore/CoreMonad.hs | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/compiler/simplCore/CoreMonad.hs b/compiler/simplCore/CoreMonad.hs
index fa43312..853f5be 100644
--- a/compiler/simplCore/CoreMonad.hs
+++ b/compiler/simplCore/CoreMonad.hs
@@ -837,22 +837,22 @@ putMsgS = putMsg . text
putMsg :: SDoc -> CoreM ()
putMsg = msg SevInfo
--- | Output a string error to the screen
+-- | Output an error to the screen. Does not cause the compiler to die.
errorMsgS :: String -> CoreM ()
errorMsgS = errorMsg . text
--- | Output an error to the screen
+-- | Output an error to the screen. Does not cause the compiler to die.
errorMsg :: SDoc -> CoreM ()
errorMsg = msg SevError
warnMsg :: SDoc -> CoreM ()
warnMsg = msg SevWarning
--- | Output a fatal string error to the screen. Note this does not by itself cause the compiler to die
+-- | Output a fatal error to the screen. Does not cause the compiler to die.
fatalErrorMsgS :: String -> CoreM ()
fatalErrorMsgS = fatalErrorMsg . text
--- | Output a fatal error to the screen. Note this does not by itself cause the compiler to die
+-- | Output a fatal error to the screen. Does not cause the compiler to die.
fatalErrorMsg :: SDoc -> CoreM ()
fatalErrorMsg = msg SevFatal
More information about the ghc-commits
mailing list