Fix documentation on type families not being extracted
It looks like the location of the Names used for CoAxioms on type families are now located at their type constructors. Previously, Docs.hs thought the Names were located in the RHS, so the RealSrcSpan in the instanceMap and getInstLoc didn't match up. Fixes #18241
Showing
- compiler/GHC/HsToCore/Docs.hs 8 additions, 12 deletionscompiler/GHC/HsToCore/Docs.hs
- testsuite/tests/showIface/DocsInHiFile.hs 6 additions, 0 deletionstestsuite/tests/showIface/DocsInHiFile.hs
- testsuite/tests/showIface/DocsInHiFile1.stdout 4 additions, 0 deletionstestsuite/tests/showIface/DocsInHiFile1.stdout
Loading
Please register or sign in to comment