summaryrefslogtreecommitdiff
path: root/testsuite/tests/haddock
Commit message (Collapse)AuthorAgeFilesLines
* Tidy up the printing of single-predicate contextsSimon Peyton Jones2014-06-204-5/+5
| | | | | | | | | | This covers things like Eq a => blah and (?x::Int) => blah where there is just one predicate. Previously we used an ad-hoc test to decide whether to parenthesise it, but acutally there is a much simpler solution: just use the existing precedence mechamism. This applies both to Type and HsType.
* Use U+2018 instead of U+201B quote mark in compiler messagesHerbert Valerio Riedel2014-02-252-5/+5
| | | | | | | This matches GCC's choice of Unicode quotation marks (i.e. U+2018 and U+2019) and therefore looks more familiar on the console. This addresses #2507. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Make Outputable instance for HsDocString usefulMateusz Kowalczyk2014-02-2518-94/+119
| | | | | | | | | | 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.
* Different quotes in error messages following lexer clean-upSimon Peyton Jones2013-12-051-1/+1
|
* Update outputs following the unicode quote change in GHC's outputIan Lynagh2013-02-241-4/+4
|
* spellingGabor Greif2013-02-021-1/+1
|
* Replace Rank2Types and PolymorphicComponents by RankNTypesSimon Peyton Jones2012-10-193-5/+5
|
* Error message wibblesSimon Peyton Jones2012-04-231-166/+166
|
* Error message wibbles following TyClDecl/HsTyDefn refactoringSimon Peyton Jones2012-03-261-166/+166
|
* Update test to reflect the improved printing of data declarations.Iavor S. Diatchki2012-03-241-1/+1
|
* Fixes to reflect changes in behavior of -XTypeOperators.Iavor S. Diatchki2012-03-183-0/+5
| | | | | | | With the new behavior of -XTypeOperators, all infix type operators refer to type constants, and not type variables. These changes update the test-suite to reflect the new behavior (while trying to preserve the "spirit" of the tests).
* Wibbles to accommodate TH changes (Trac #4429, #5406)Simon Peyton Jones2011-08-231-164/+166
|
* Accept output changes (related to patch for #5417)Simon Peyton Jones2011-08-221-8/+13
|
* Move tests from tests/ghc-regress/* to just tests/*David Terei2011-07-20134-0/+1575