aboutsummaryrefslogtreecommitdiff
path: root/html-test/src/ImplicitParams.hs
Commit message (Collapse)AuthorAgeFilesLines
* html-test: Always set languageJoachim Breitner2021-02-221-0/+1
| | | | | | | | | | from ghc-9.2 on, the “default” langauge of GHC is expected to change more wildly. To prepare for that (and unblock https://gitlab.haskell.org/ghc/ghc/-/merge_requests/4853), this sets the language for all the test files to `Haskell2010`. This should insolate this test suite against changes to the default. Cherry-picked from https://github.com/haskell/haddock/pull/1341
* Add RankNTypes test case to ImplicitParams.hsNiklas Haas2014-02-231-2/+5
| | | | | | | This test actually tests what #260 originally reported - I omitted the RankNTypes scenario from the original fix because I realized it's not relevant to the underlying issue and indeed, this renders as intended now. Still good to have more tests.
* Make ImplicitParams render correctly (#260)Niklas Haas2014-02-231-0/+10
This introduces a new precedence level for single contexts (because implicit param contexts always need parens around them, but other types of contexts don't necessarily, even when alone)