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/haddockA032.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/haddockA032.stderr')
-rw-r--r-- | testsuite/tests/haddock/should_compile_flag_haddock/haddockA032.stderr | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/tests/haddock/should_compile_flag_haddock/haddockA032.stderr b/testsuite/tests/haddock/should_compile_flag_haddock/haddockA032.stderr index 2b0e4d24af..5cf2d9b034 100644 --- a/testsuite/tests/haddock/should_compile_flag_haddock/haddockA032.stderr +++ b/testsuite/tests/haddock/should_compile_flag_haddock/haddockA032.stderr @@ -2,9 +2,9 @@ ==================== Parser ==================== module ShouldCompile where data R a - = R {field1 :: a, - field2 :: a <document comment>, - field3 :: a <document comment>, - field4 :: a <document comment>} + = R {field1 :: a, + field2 :: a comment for field2, + field3 :: a comment for field3, + field4 :: a comment for field4 } |