aboutsummaryrefslogtreecommitdiff
path: root/hoogle-test/src/Bug806
diff options
context:
space:
mode:
authorAlec Theriault <alec.theriault@gmail.com>2018-07-06 10:06:32 -0400
committerSimon Jakobi <simon.jakobi@gmail.com>2018-07-20 13:39:29 +0200
commit97829713e19399970c80b80c8bd05f437e5fe842 (patch)
treebe45c0f4e1d475e485bd046c59b705c249d6e765 /hoogle-test/src/Bug806
parent7e92026477248c077c0f47a1d5995513fa76e2b4 (diff)
Avoid line breaks due to line length in Hoogle (#868)
* Avoid line breaks due to line length in Hoogle Hoogle operates in a line-oriented fashion, so we should avoid ever breaking due to long lines. One way of doing this non-intrusively is to modify the 'DynFlags' that are threaded through the 'Hoogle' module (note this is anyways only passed through for use in the various 'showSDoc' functions). * Amend test case (cherry picked from commit 657b1b3d519545f8d4ca048c06210d6cbf0f0da0)
Diffstat (limited to 'hoogle-test/src/Bug806')
-rw-r--r--hoogle-test/src/Bug806/Bug806.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/hoogle-test/src/Bug806/Bug806.hs b/hoogle-test/src/Bug806/Bug806.hs
index 6efcb5cf..45efda77 100644
--- a/hoogle-test/src/Bug806/Bug806.hs
+++ b/hoogle-test/src/Bug806/Bug806.hs
@@ -21,3 +21,4 @@ v = 42
class C a where
-- | 'AT' docs
type AT a
+ type AT a = Proxy (Proxy (Proxy (Proxy (Proxy (Proxy (Proxy (Proxy (Proxy (Proxy)))))))))