diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2016-03-26 00:42:27 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-03-26 00:42:28 +0100 |
commit | e8d356773b56c1e56911b6359a368fe2f5d3ed1c (patch) | |
tree | 12b432426804454bc59dec88ffdcded6d04fa8e5 /compiler/utils/Outputable.hs-boot | |
parent | 4e98b4ff98e127aa9ef4fa1e85bdf0efa41f0902 (diff) | |
download | haskell-e8d356773b56c1e56911b6359a368fe2f5d3ed1c.tar.gz |
Panic: Try outputting SDocs
This works in conjunction with D2036 to allow useful debug output before
DynFlags has been initializated.
See #11755.
Reviewers: austin
Reviewed By: austin
Subscribers: thomie, gridaphobe
Differential Revision: https://phabricator.haskell.org/D2037
GHC Trac Issues: #11755
Diffstat (limited to 'compiler/utils/Outputable.hs-boot')
-rw-r--r-- | compiler/utils/Outputable.hs-boot | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/utils/Outputable.hs-boot b/compiler/utils/Outputable.hs-boot index 1c15a6982a..e5e88953cc 100644 --- a/compiler/utils/Outputable.hs-boot +++ b/compiler/utils/Outputable.hs-boot @@ -1,3 +1,5 @@ module Outputable where data SDoc + +showSDocUnsafe :: SDoc -> String |