summaryrefslogtreecommitdiff
path: root/compiler/GHC/Types/SourceError.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Types/SourceError.hs')
-rw-r--r--compiler/GHC/Types/SourceError.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Types/SourceError.hs b/compiler/GHC/Types/SourceError.hs
index 6733f6665d..a8c4733420 100644
--- a/compiler/GHC/Types/SourceError.hs
+++ b/compiler/GHC/Types/SourceError.hs
@@ -27,7 +27,7 @@ srcErrorMessages (SourceError msgs) = msgs
throwErrors :: MonadIO io => ErrorMessages -> io a
throwErrors = liftIO . throwIO . mkSrcErr
-throwOneError :: MonadIO io => MsgEnvelope [SDoc] -> io a
+throwOneError :: MonadIO io => MsgEnvelope DecoratedSDoc -> io a
throwOneError = throwErrors . unitBag
-- | A source error is an error that is caused by one or more errors in the