diff options
author | Alec Theriault <alec.theriault@gmail.com> | 2018-07-06 10:06:32 -0400 |
---|---|---|
committer | Simon Jakobi <simon.jakobi@gmail.com> | 2018-07-20 13:39:29 +0200 |
commit | 97829713e19399970c80b80c8bd05f437e5fe842 (patch) | |
tree | be45c0f4e1d475e485bd046c59b705c249d6e765 /hoogle-test/ref | |
parent | 7e92026477248c077c0f47a1d5995513fa76e2b4 (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/ref')
-rw-r--r-- | hoogle-test/ref/Bug806/test.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hoogle-test/ref/Bug806/test.txt b/hoogle-test/ref/Bug806/test.txt index d9a908b3..67e9fd61 100644 --- a/hoogle-test/ref/Bug806/test.txt +++ b/hoogle-test/ref/Bug806/test.txt @@ -21,4 +21,5 @@ class C a where { -- | <a>AT</a> docs type family AT a; + type AT a = Proxy (Proxy (Proxy (Proxy (Proxy (Proxy (Proxy (Proxy (Proxy (Proxy))))))))); } |