<feed xmlns='http://www.w3.org/2005/Atom'>
<title>haddock.git/html-test/ref/Bug1067A.html, branch ghc-9.2</title>
<subtitle>Haddock with an org backend (haddorg).
</subtitle>
<id>https://g.ypei.me/haddock.git/atom?h=ghc-9.2</id>
<link rel='self' href='https://g.ypei.me/haddock.git/atom?h=ghc-9.2'/>
<link rel='alternate' type='text/html' href='https://g.ypei.me/haddock.git/'/>
<updated>2021-02-22T09:39:18+00:00</updated>
<entry>
<title>html-test: Always set language</title>
<updated>2021-02-22T09:39:18+00:00</updated>
<author>
<name>Joachim Breitner</name>
<email>mail@joachim-breitner.de</email>
</author>
<published>2021-02-22T09:31:56+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/haddock.git/commit/?id=606e3f220d20688c7baff94bef525a13434dc56b'/>
<id>urn:sha1:606e3f220d20688c7baff94bef525a13434dc56b</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>Fallback to `hiDecl` when `extractDecl` fails</title>
<updated>2020-04-21T15:06:45+00:00</updated>
<author>
<name>Alec Theriault</name>
<email>alec.theriault@gmail.com</email>
</author>
<published>2020-04-21T14:53:28+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/haddock.git/commit/?id=5bc5016a14bc872a8315cddc629f8171a9ccd62e'/>
<id>urn:sha1:5bc5016a14bc872a8315cddc629f8171a9ccd62e</id>
<content type='text'>
Sometimes, the declaration being exported is a subdecl (for instance, a
record accessor getting exported at the top-level). For these cases,
Haddock has to find a way to produce some synthetic sensible top-level
declaration. This is done with `extractDecl`.

As is shown by #1067, this is sometimes impossible to do just at a
syntactic level (for instance when the subdecl is re-exported). In these
cases, the only sensible thing to do is to try to reify a declaration
based on a GHC `TyThing` via `hiDecl`.
</content>
</entry>
</feed>
