Oleg Grenrus pushed to branch wip/shorter-this-module-links at Glasgow Haskell Compiler / GHC
Commits:
-
13f9d8c3
by Oleg Grenrus at 2025-09-14T19:02:49+03:00
5 changed files:
- libffi-tarballs
- nofib
- utils/haddock/haddock-api/src/Haddock/Backends/Hyperlinker/Renderer.hs
- utils/hpc
- utils/hsc2hs
Changes:
| 1 | -Subproject commit 7c51059557b68d29820a0a87cebfa6fe73c8adf5 |
|
| 1 | +Subproject commit 89a9b01c5647c8f0d3899435b99df690f582e9f1 |
| 1 | -Subproject commit b7391df4540ac8b11b35e1b2e2c15819b5171798 |
|
| 1 | +Subproject commit da7eed00e494aba1da9f51cb92089ca10e2454e7 |
| ... | ... | @@ -14,7 +14,7 @@ import GHC.Iface.Ext.Types |
| 14 | 14 | import GHC.Iface.Ext.Utils (emptyNodeInfo, isEvidenceContext)
|
| 15 | 15 | import GHC.Types.Name (Name, getOccString, isInternalName, nameModule, nameUnique)
|
| 16 | 16 | import GHC.Types.SrcLoc
|
| 17 | -import GHC.Types.Unique (getKey)
|
|
| 17 | +import GHC.Types.Unique (showUnique)
|
|
| 18 | 18 | import GHC.Unit.Module (Module, ModuleName, moduleNameString)
|
| 19 | 19 | import GHC.Utils.Encoding (utf8DecodeByteString)
|
| 20 | 20 | import System.FilePath.Posix ((</>))
|
| ... | ... | @@ -254,7 +254,7 @@ externalAnchorIdent :: Name -> String |
| 254 | 254 | externalAnchorIdent = hypSrcNameUrl
|
| 255 | 255 | |
| 256 | 256 | internalAnchorIdent :: Name -> String
|
| 257 | -internalAnchorIdent = ("local-" ++) . show . getKey . nameUnique
|
|
| 257 | +internalAnchorIdent = ("l-" ++) . showUnique . nameUnique
|
|
| 258 | 258 | |
| 259 | 259 | -- | Generate the HTML hyperlink for an identifier
|
| 260 | 260 | hyperlink :: Module -> SrcMaps -> Identifier -> Html -> Html
|
| 1 | -Subproject commit 5923da3fe77993b7afc15b5163cffcaa7da6ecf5 |
|
| 1 | +Subproject commit d1780eb21c1e5a1227fff80c8d325d5142f04255 |
| 1 | -Subproject commit fe3990b9f35000427b016a79330d9f195587cad8 |
|
| 1 | +Subproject commit c3b21800a67366c9591dc85a471d1dfdb1efcf29 |