aboutsummaryrefslogtreecommitdiff
path: root/html-test/src/Bug1050.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
* Fix #1050 by filtering out invisible AppTy argumentsRyan Scott2020-04-051-0/+11
This makes the `synifyType` case for `AppTy` more intelligent by taking into consideration the visibilities of each `AppTy` argument and filtering out any invisible arguments, as they aren't intended to be displayed in the source code. (See #1050 for an example of what can happen if you fail to filter these out.) Along the way, I noticed that a special `synifyType` case for `AppTy t1 (CoercionTy {})` could be consolidated with the case below it, so I took the opportunity to tidy this up.