diff options
author | Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk> | 2014-02-25 06:35:10 +0000 |
---|---|---|
committer | Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk> | 2014-02-25 06:35:49 +0000 |
commit | ede5b5180c2a5db3f51b01dbef402d21ace9601c (patch) | |
tree | 80954039a27b55f8dee50bc6c7f916ec7c0b7250 /testsuite/tests/haddock/should_compile_flag_haddock/haddockA026.stderr | |
parent | 4f69b1e23cc9538241e895be4dbee0a0a0fd8396 (diff) | |
download | haskell-ede5b5180c2a5db3f51b01dbef402d21ace9601c.tar.gz |
Make Outputable instance for HsDocString useful
Seeing "<document comment>" when trying to debug things in Haddock is
utterly useless and because this instance exists, we can't even make our
own. No instance at all would be better than what it was!
Admittedly, this doesn't produce the nicest output. Perhaps wrapping the
comments in {- -} would be in order but I think it's fine until someone
complains.
Diffstat (limited to 'testsuite/tests/haddock/should_compile_flag_haddock/haddockA026.stderr')
-rw-r--r-- | testsuite/tests/haddock/should_compile_flag_haddock/haddockA026.stderr | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/testsuite/tests/haddock/should_compile_flag_haddock/haddockA026.stderr b/testsuite/tests/haddock/should_compile_flag_haddock/haddockA026.stderr index e352980fd4..3e3cb12d10 100644 --- a/testsuite/tests/haddock/should_compile_flag_haddock/haddockA026.stderr +++ b/testsuite/tests/haddock/should_compile_flag_haddock/haddockA026.stderr @@ -1,10 +1,7 @@ -
-==================== Parser ====================
-module ShouldCompile where
-test ::
- Eq a =>
- [a] <document comment>
- -> forall b. [b] <document comment> -> [a] <document comment>
-test xs ys = xs
-
-
+ +==================== Parser ==================== +module ShouldCompile where +test :: Eq a => [a] doc1 -> forall b. [b] doc2 -> [a] doc3 +test xs ys = xs + + |