summaryrefslogtreecommitdiff
path: root/testsuite/tests/haddock/haddock_examples
Commit message (Collapse)AuthorAgeFilesLines
* AST changes to prepare for API annotations, for #9628Alan Zimmerman2014-11-211-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Summary: AST changes to prepare for API annotations Add locations to parts of the AST so that API annotations can then be added. The outline of the whole process is captured here https://ghc.haskell.org/trac/ghc/wiki/GhcAstAnnotations This change updates the haddock submodule. Test Plan: sh ./validate Reviewers: austin, simonpj, Mikolaj Reviewed By: simonpj, Mikolaj Subscribers: thomie, goldfire, carter Differential Revision: https://phabricator.haskell.org/D426 GHC Trac Issues: #9628
* Tidy up the printing of single-predicate contextsSimon Peyton Jones2014-06-201-1/+1
| | | | | | | | | | 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-251-4/+4
| | | | | | | 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-251-36/+67
| | | | | | | | | | 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.
* Update outputs following the unicode quote change in GHC's outputIan Lynagh2013-02-241-4/+4
|
* Replace Rank2Types and PolymorphicComponents by RankNTypesSimon Peyton Jones2012-10-191-1/+1
|
* Error message wibblesSimon Peyton Jones2012-04-231-166/+166
|
* Error message wibbles following TyClDecl/HsTyDefn refactoringSimon Peyton Jones2012-03-261-166/+166
|
* 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-207-0/+587